gluon 0.18.2

A static, type inferred programming language for application embedding
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
//! The unit type.

let { Eq, Ord, Ordering, Show } = import! std.prelude
let { const } = import! std.function
let { Bool } = import! std.bool

let eq : Eq () = { (==) = const (const True) }

let ord : Ord () = { eq = eq, compare = const (const EQ) }

let show : Show () = { show = const "()" }

{
    eq,
    ord,
    show,
}