tomo/tests/enums.nl

6 lines
96 B
Plaintext

enum Foo(Zero, One(x:Int), Two(x,y:Int))
>> Foo__Zero()
>> Foo__One(123)
>> Foo__Two(123, 456)