MathisBullinger/froebel
View on GitHub ↗ ★ 1,112 TypeScript
A strictly typed utility library.
6 mentions on Hacker News by 2 people: 2 stories, 4 comments · first 2022-05-26 · latest 2022-08-08
20082026
-
applyPipe is added now: https://github.com/MathisBullinger/froebel#applypipe It's included in version 0.21.0
comment by upzylon · 2022-08-08 · in A generically typed pipe function in TypeScript -
It's just an identifier like any other defined in types.ts: https://github.com/MathisBullinger/froebel/blob/main/types.t... It's defined as type λ<TA extends any[] = any[], TR = any> = (...args: TA) => TR; meaning λ is just any function…
comment by upzylon · 2022-08-08 · in A generically typed pipe function in TypeScript -
…is quite elegant! Direct link to the source of OP's pipe function and recursive type definitions: https://github.com/MathisBullinger/froebel/blob/main/pipe.ts... On a related note, I've been frustrated by the slow progress on…
comment by btown · 2022-08-07 · in A generically typed pipe function in TypeScript -
…I see the link is just to the repo, that's unfortunate. Here is the relevant section of the readme: https://github.com/MathisBullinger/froebel#pipe and here the implementation: https://github.com/MathisBullinger/froebel/blob/main/pipe.ts...
comment by upzylon · 2022-08-07 · in A generically typed pipe function in TypeScript