Press CTRL+C or CMD+C to copy the selected text and close this dialog.
Tweet
17 people like it. Like the snippet!
Union constructors can be used as functions
1: 2: 3: 4: 5: 6: 7:
type Ast = Identifier of string | Number of int let num f x = f x num Number 1