question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Flow offers things like $Call which have been a bottleneck for me so far. I should finish up my flow branch to get things up to parity. I’m not actually good at Flow so help welcome!

edit: I should check type-at-pos to find the inferred types.

Issue Analytics

  • State:open
  • Created 6 years ago
  • Reactions:3
  • Comments:21 (9 by maintainers)

github_iconTop GitHub Comments

1reaction
KiaraGrouwstracommented, Feb 9, 2019

@goodmind: you’re not far off! it has two use-cases:

  • pattern matching, within TS now covered by conditional types;
  • calculating types based on an input function, needed for e.g. map on tuples / heterogeneous objects (both already covered in Flow utilities), as well as for e.g. function composition and currying.

This is why I was kinda sad they gave us conditional types instead of $Call, as it means the second use-case is likely still gonna remain pretty far off. And since those are pretty vital for FP libs like Ramda, that’s why I’d feel more optimistic about Flow at this point.

0reactions
KiaraGrouwstracommented, Mar 24, 2019

whoa, that’s pretty nice! It’s felt like the TS team has been fairly swamped with stuff, though at least recently Ramda got some attention there as it was the only typing repo convoluted enough to break on their recent changes. 😂

Read more comments on GitHub >

github_iconTop Results From Across the Web

Flow Port
Welcome to Flow Port, your portal to the decentralized world of Flow. Sign in or sign up to access your Flow account, interact...
Read more >
Flow Port is Here
Your portal to the decentralized world of Flow is here. We are excited to announce that Flow Port is now available.
Read more >
Flow Port - No Magic Documentation
A Flow Port is a port that specifies the input and output items that can flow between a Block and its environment. Flow...
Read more >
Flow port (SysML item) - PTC Support
A Flow Port specifies the input and output items that may flow between a Block and its environment. Flow Ports are interaction points...
Read more >
Flow ports - IBM
Flow ports allow you to represent the flow of data between objects in an object model diagram, without defining events and operations. Flow...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found