lily/programs/data_decls.lily

3 lines
71 B
Plaintext

data Bool = { True, False }
data IntList = { Nil, Cons(Int, IntList) }