News for hackers. Stuff that matters.
Re:Unison Programming Language by wyager on Sunday June 27, 2021 @01:17PM (#27653318)
This looks pretty well done. It doesn’t seem like a gimmick; they’ve made a lot of good choices beyond the core conceit of content-addressable code.

One thing I didn’t see skimming the language reference page: is there any sort of typeclass mechanism?

Re:Unison Programming Language by refried_ on Sunday June 27, 2021 @01:53PM (#27653617)
No, but it’s planned; probably in the form of implicit parameters.
Re:Unison Programming Language by anka-213 on Monday July 05, 2021 @06:09AM (#27736244)
Is there a fundamental limitation that would make it impossible to use a haskell-style coherent typeclass system, where the instance of a typeclass must be globally unique?

My guess is yes, since that would probably forbid modifying the instance, since we would now have both the new and old copy. Unless of course we couple type class instances with the definition of the type itself (or the definition of the class) and view the type together with all its instances as a unit (as Unison does with mutually recursive functions), but that would bring on its own set of issues.