Jason Butler
Jason Butler
Hello @martinDlocal, I'm not the owner of the repo and I know this is 2 years later, but in case you are interested, it is possible to get the correct...
This works for values ```typescript declare module 'z' { type Matcher = (value: U) => R type Matches = (value: U) => ( ...matchers: M ) => M extends Matcher[]...
Same issue here.
@jimmycanosa Why would you assume that?
How about a `.spread` property? That way we can use spread in any position like in vanilla TS For tuples: ```ts const a = Rune.tuple(["a", "b", "c"]) const b =...
@bbrk24 No, backcall operator isn't a higher order function. Its a syntactic feature which moves everything after it into a callback. For example: ``` const msg console.log(msg)) ``` It can't...
> I'm still not sure I understand the point. Your initial motivating example still feels like it could just use promisify: This is a contrived example to show how to...
@edemaine > It's kind of like continuations... Yes, this lets you write code that uses continuations (callbacks) in direct-style, ie, in the sequential fashion that async/await allows. Continuations are very...
the do notation is also universal in functional programming languages, which don't ever need to introduce custom syntax for things like await/async, exceptions, iterators, nullables, and more, since the do...
I feel like I am repeating myself here and I want to correctly transmit the WHY of do notation. Please help me out here if my explanations aren't what you...