Anyone doing #AdventOfCode using @GiulioCanti
fp-ts (https://github.com/gcanti/fp-ts)?
Would love to use it as a learning exercise!
A static archive of Markus Tacker's tweets. Follow me on Mastodon: @[email protected].
2 tweets
Anyone doing #AdventOfCode using @GiulioCanti
fp-ts (https://github.com/gcanti/fp-ts)?
Would love to use it as a learning exercise!
I wonder how a #functional implementation of the repository pattern (
https://8thlight.com/blog/mike-ebert/2013/03/23/the-repository-pattern.html )
would look like.
In the past I used to define an interface (in TypeScript) which defines instance
methods:
https://gist.github.com/coderbyheart/5137f9b900d68ba268757e9cbcc9bdac#file-simvendorrepository-ts