Measures Concepts
GitHub icon

unison

unison - Programming language

< >

unison is an open source programming language created in 2015.

Source code:
git clone https://github.com/unisonweb/unison
#382on PLDB 9Years Old

Try now: Riju

A friendly programming language from the future


Example from the web:
-- comments start with `--` -- alice : Node, bob : Node x = factorial 6 Remote.transfer alice y = foo x -- happens on `alice` node Remote.transfer bob bar x y -- happens on `bob` node
Example from Riju:
use io runProg: '{IO, Exception} a -> '{IO} () runProg f = 'let printErr err = match err with Failure _ errMsg _ -> handle putBytes (stdHandle StdErr) (toUtf8 errMsg) with cases {raise _ -> _} -> () {_} -> () match catch f with Left err -> printErr err Right _ -> () main: '{IO} () main = runProg 'let printLine "Hello, world!"

Language features

Feature Supported Token Example
Comments ✓
-- A comment
Line Comments ✓ --
-- A comment
Semantic Indentation X

View source

- Build the next great programming language · Search · Add Language · Features · Creators · Resources · About · Blog · Acknowledgements · Queries · Stats · Sponsor · Day 605 · feedback@pldb.io · Logout