SaaSHub helps you find the best software and product alternatives Learn more →
Haskell unison-language Projects
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
Short version: no type classes (yet)
Longer version:
Building upon what Quekid5 mentioned, Unison abilities are an implementation of what is referred to as algebraic effects in programming language literature. They represent capabilities like IO, state, exceptions, etc. They aren't really a replacement for type classes, though in some cases you can shoehorn abilities in where you might otherwise use a type class.
For someone coming from a Haskell background, I think that abilities are closer to a replacement for monad transformers. But in my opinion they are much more ergonomic.
Discusson of type classes comes up a lot. Here is a long-standing GitHub issue: https://github.com/unisonweb/unison/issues/502
For what it's worth, I've written Unison quite a lot over the past few years and while I've missed type classes at times, I think that reading unfamiliar code is easier without them. There's no implicit magic; you can see exactly what is being passed into a function. So far I've been happy with a bit more verbosity for the sake of readability.
Haskell unison-language related posts
- Unison Programming Language
- Unison Language
- Looking for a new language to learn for Advent of Code that's unlike anything you've tried before? Check out Unison!
- Unison
- As a Scala developer what do you think about the Unison language?
- Unison Milestone 3
- Unison: a new programming language with immutable content-addressable code
-
A note from our sponsor - SaaSHub
www.saashub.com | 26 Apr 2024
Index
Project | Stars | |
---|---|---|
1 | unison | 5,540 |
Sponsored