purescript
rescript-compiler
Our great sponsors
- Revelo Payroll - Free Global Payroll designed for tech teams
- InfluxDB - Collect and Analyze Billions of Data Points in Real Time
- Onboard AI - Learn any GitHub repo in 59 seconds
- SonarLint - Clean code begins in your IDE with SonarLint
purescript | rescript-compiler | |
---|---|---|
50 | 87 | |
8,291 | 6,255 | |
0.3% | 0.5% | |
0.0 | 9.4 | |
about 1 month ago | 2 days ago | |
Haskell | OCaml | |
BSD 3-clause "New" or "Revised" License | GNU General Public License v3.0 or later |
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.
purescript
-
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/.
- (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?
-
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
- 10 years of Scala.js
-
purerl - Integrating PureScript into Elixir projects
PureScript is a Haskell-like language aimed at providing an alternative to TypeScript for statically typed programming in the JavaScript space. I highly recommend taking a look at PureScript for your compile-to-JavaScript needs outside of the use case we'll be talking about in this post.
-
Ask HN: Uncommon Web Languages?
Tons of them, but I am most interested in the following for various reasons:
PureScript[1] — been around a long time. Looks a lot like Haskell to me.
Derw[2] — Elm-like, interesting integration with Typescript
Amber[3] — smalltalk for js
Rescript[4] — its been awhile since i last looked at this project (during a catastrophic rebrand) so I'm not sure where this project is at, but it did seem very promising to me at one point.
[1]: https://www.purescript.org/
-
2022 State of Haskell Survey
Thinking about "tools" in a more general sense, there is Pandoc,¹ which is an end-user application, and PureScirpt,² a programming language.
rescript-compiler
-
Building React Components Using Unions in TypeScript
This is because a “Tagged Union”, another word for TypeScript’s Discriminated Union, is a way to “tag which one is in use right now… we check the tag to see”. Just like when you’re shopping and check the tag of a piece of clothing to see what the price is, what size it is, or what material it’s made out of. Languages like ReScript compile many of their Unions (called Variants) to JavaScript Objects that have a tag property.
-
Converting a JavaScript React app to a ReScript React app.
ReScript is "Fast, Simple, Fully Typed JavaScript from the Future". Let's take a look at how we can add it to an existing React project.
-
Way to High Confidence: The Ideal Testing Trophy
REscript
-
Domain Modelling in the Cloud & AWS CDK
Ultimately, Dhall wasn’t verbose enough nor was I Dhall ninja, but something like TypeScript or ReScript probably would have been better.
- Ditching TypeScript for JavaScript
-
Learning functional oncepts - Which Language?
And there's rescript which is OCaml with JS friendly syntax that compiles to JS. I don't use it much, but its super impressive.
-
My Thoughts on OCaml
ReasonML and ReScript are a (more or less the same) new syntax on top of OCaml. ReScript only targets JS, while ReasonML targets both JS and the native archs OCaml supports. Facebook and Bloomberg are using ReScript internally, afaik. Messenger.com is written in it. Facebook also maintains React bindings to ReScript.
-
Struggling to find my next steps - Seeking advice from the community
I've never liked OOP either, I started building sites using https://rescript-lang.org/ which is basically OCaml https://cs3110.github.io/textbook/cover.html and for me much easier to understand, all your program is in modules with an interface, you just have functions and nothing else. The code is almost always self documenting it's so easy to read once you get used to it.
- You don't need a build step
- Por que Elm é uma linguagem tão deliciosa?
What are some alternatives?
svelte-wasm
Elm - Compiler for Elm, a functional language for reliable webapps.
fp-ts - Functional programming in TypeScript
reason - Simple, fast & type safe code that leverages the JavaScript & OCaml ecosystems
TypeScript - TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
Fable: F# |> BABEL - F# to JavaScript, TypeScript, Python, Rust and Dart Compiler
elm-reactor
Idris2 - A purely functional programming language with first class types
polysemy - :gemini: higher-order, no-boilerplate monads
liquidhaskell - Liquid Types For Haskell