Re:Mirth – a type-safe concatenative purely functional progr...
by Smaug123 on Saturday July 13, 2019 @02:48AM
(#20426855)
The syntax is a bit peculiar, but they defined the union type Nat, defined the function + which takes two Nats and returns a Nat (which they defined in a thoroughly confusing point-free way because the language is concatenative), and demonstrated the associativity of +.
If you read any introduction to dependent types, they will do this.
If you read any introduction to dependent types, they will do this.