ts-adt
purescript
ts-adt | purescript | |
---|---|---|
4 | 52 | |
305 | 8,464 | |
- | 0.4% | |
0.0 | 6.5 | |
about 1 year ago | 19 days ago | |
TypeScript | Haskell | |
MIT License | BSD 3-clause "New" or "Revised" License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
ts-adt
-
Building React Components Using Unions in TypeScript
ts-adt
-
What makes Rust's enums so great?
FWIW, for TypeScript there are libraries such as ts-adt that help you skip over the boilerplate.
- @practical-fp/union-types - A Typescript library for creating discriminating union types
-
Rust Pattern Matching Examples for Typescript Developers
From a pattern matching perspective, Typescript is very limited in what it can do. Hence, this makes writing functional code more verbose and requires more boilerplate because you'll need to write your own matchers. See ts-adt as an example.
purescript
- Learning Elm by porting a medium-sized web front end from React (2019)
- Ask HN: Interest in a Rust-Inspired Language Compiling to JavaScript?
-
Building React Components Using Unions in TypeScript
Naturally I’d recommend using a better language such as ReScript or Elm or PureScript or F#‘s Fable + Elmish, but “React” is the king right now and people perceive TypeScript as “less risky” for jobs/hiring, so here we are.
-
Is there a better way to do read-only types
Unless you want to switch to https://www.purescript.org/.
-
Why I'm Leaving Elm
PureScript[1][2] seems pretty alive these days. From my relatively small, self-contained experiments, it's a lot more flexible and expressive than Elm at the expense of (maybe?) being a bit harder to learn up-front.
[1]: https://www.purescript.org/
[2]:https://github.com/purescript/purescript
- (strongly typed) functional language compilers running in browser
-
purescript VS purs-eval - a user suggested alternative
2 projects | 2 Mar 2023
- Por que Elm é uma linguagem tão deliciosa?
-
I will die on this hill (curve)
*cough* I mean Purescript.
-
My main beef with Haskell/JS
Assuming this is a PS knock, fwiw this went away a good bit ago: https://github.com/purescript/purescript/releases/tag/v0.14.2
What are some alternatives?
ts-pattern - 🎨 The exhaustive Pattern Matching library for TypeScript, with smart type inference.
fp-ts - Functional programming in TypeScript
union-types - A Typescript library for creating discriminating union types.
reason - Simple, fast & type safe code that leverages the JavaScript & OCaml ecosystems
fsharp.org - The F# Software Foundation website
elm-reactor
Elm - Compiler for Elm, a functional language for reliable webapps.
rescript-compiler - The compiler for ReScript.
Idris2 - A purely functional programming language with first class types
liquidhaskell - Liquid Types For Haskell
polysemy - :gemini: higher-order, no-boilerplate monads
stylish-haskell - Haskell code prettifier [Moved to: https://github.com/haskell/stylish-haskell]