variant
fsharp.org
variant | fsharp.org | |
---|---|---|
5 | 7 | |
178 | 288 | |
- | 0.7% | |
0.0 | 5.6 | |
2 months ago | about 2 months ago | |
TypeScript | TeX | |
Mozilla Public License 2.0 | - |
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.
variant
-
Building React Components Using Unions in TypeScript
Variant
-
ADTs in Typescript
When working in a TS codebase I'll lean on this variant library, which works pretty well as far as simple sum types go (v3 is great but not stable yet).
-
disc-union - (yet another) library for working with discriminated union types
About half-way through writing this library I discovered that Variant existed... and does a great job at doing the exact same things (and more). I might not have started if I knew about that, but I'm glad I did because it has been a great learning experience!
-
ts-pattern: pattern matching library for TypeScript, with smart type inference
Oddly enough, this feature alone has been a a big draw to Rust, Haskell and functional programming in general for me... so it's nice that there's libs filling the gap for TypeScript. Here's another one I haven't gotten around to trying yet either.
-
Tool to normalize types (specifically intersections)?
I had to solve this for a project of mine.
fsharp.org
-
Top Paying Programming Technologies 2024
3. F# - $99,311
-
Roc – A fast, friendly, functional language
Oh yeah. A key hindrance of F# is that MS treats it like a side project even though it's probably their secret weapon, and a lot of the adopters are dotnet coders who already know the basics so the on-boarding is less than ideal.
https://fsharp.org/ is the best place to actually start.
https://fsharpforfunandprofit.com/ is the standard recommendation from there but there's finally some good youtube and other content out there.
-
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.
- Earning the privilege to work on unoriginal problems
-
I am a ChatGPT bot - Ask me anything #2
Are you really a bot? Yes, I'm a small F# program that glues together the public API's provided by Reddit and OpenAI. I was created by /u/brianberns. You can find my source code here.
-
I am a ChatGPT bot
The bot is written in F#, which is a .NET language (like C#).
-
Full Paket Tutorial Video (Paket vs NuGet for F# Package Management)
I created an issue here for the documentation change: https://github.com/fsharp/fsfoundation/issues/857
What are some alternatives?
type-fest - A collection of essential TypeScript types
effect - A fully-fledged functional effect system for TypeScript with a rich standard library
boxed - Essential building-blocks for functional & safe TypeScript code
rescript-compiler - The compiler for ReScript.
TypeScript - TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
askai - Command Line Interface for OpenAi ChatGPT
ts-pattern - 🎨 The exhaustive Pattern Matching library for TypeScript, with smart type inference.
purescript - A strongly-typed language that compiles to JavaScript
proposal-pattern-matching - Pattern matching syntax for ECMAScript
ts-adt - Generate Algebraic Data Types and pattern matchers
React - The library for web and native user interfaces.
elmish - Elm-like abstractions for F# apps