r/functionalprogramming • u/beleeee_dat • Jun 27 '21
Haskell Unison: a new programming language with immutable content-addressable code
https://www.unisonweb.org/
46
Upvotes
4
u/witoldsz Jun 27 '21
It's not that new. I remember reading about it some time (years) ago. I like the ideas they have and looking forward to see how it goes!
0
Jun 27 '21
[deleted]
2
u/SickMoonDoe Jun 27 '21
Do you mean an interpreter or REPL online? Or do you mean "can I output HTML, CSS, JS or Web Assembly"?
6
u/jimmux Jun 28 '21 edited Jun 28 '21
If definitions are stored as a hashed syntax tree, is Unison a good candidate for a language with multiple representations? I personally prefer the whitespaced Haskell style, but it does put off a lot of people.
If an IDE could toggle between the whitespaced and braced Haskell styles without changing the underlying definitions it might win some people over. I have seen an interest in this for other experimental languages pretty often, and Unison looks like it could be a great testing ground for it.
Edit: reading more, I see that definitions can have multiple names, or aliases. This is another similar idea that can really help bring people over. Having both "fold" and "reduce" means less cognitive load for someone coming from another language. I really like the possibilities in this language!