You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

41 lines
462 B
Plaintext

type Food = enum {
Apple Num
Banana Num
Cereal Num
Milk #(String Num)
}
type Utils = enum {
Paper Num
Detergent Num
Pencils Num
}
type Packaging = enum {
Bag
PlasticBag
}
type ShoppingList = rec {
food: Food
utils: Utils
packaging: Packaging
}
type NestedHell = enum {
NoNesting Num
Nesting enum {
FirstLevel enum {
SecondLevel enum {
Third Lvl<a>
}
Second rec {
first: Num
second: Num
}
}
StillFirst Num<a>
}
}