Sam A. Horvath-Hunt
Sam A. Horvath-Hunt
Is there an API or anything that could be hooked into, or does the macOS receiver run via something like iCloud?
@mAAdhaTTah In my experience idiomatic usage of userland pipelines is to abstract out and name your functions. The same idiom exists in Haskell, albeit it's more ergonomic there with where...
It now looks quite similar to the F# proposal except it disallows point-free in exchange for dropping an arrow: ```ts envars |> x => Object.keys(x) |> keys => keys.map(x =>...
It doesn't need to _encourage_ tacit programming, merely enable it. The F# proposal achieves this by leaving open the opportunity to open up a lambda.
> I agree; this is an important distinction. But it is also true that tacit programming is already enabled…in userland, with userland functions like rx.pipe. > > We’re talking about...
> The input-first variant tends to be nicer to use with TypeScript/Flow. How so? That's not been my experience as someone using it extensively for a few years in TypeScript....
I think this is required for vdirsyncer support if I'm not mistaken? It fails at discovery.
It's not possible (without compiler plugins) to generate runtime code from TypeScript given type erasure / lack of runtime presence. The inverse however is possible with `typeof` as a sort...
Worth noting that [newtype-ts](https://gcanti.github.io/newtype-ts/modules/index.ts.html#getring) allows you to perform arithmetic over newtypes via "[semi]ring" instances (that come from monocle-ts I believe). I'm not sure if there's a similar utility for branded...
Potentially relevant: - "Distinguish missing and undefined": https://github.com/microsoft/TypeScript/issues/13195 - `--strictOptionalProperties`: https://github.com/microsoft/TypeScript/pull/43947