Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # type binary_tree =
- | Leaf of int
- | Tree of binary_tree * binary_tree;;
- type binary_tree = Leaf of int | Tree of binary_tree * binary_tree
- # type BinTree =
- |BinLeaf of int
- | BinNode of BinTree * BinTree;;
- Error: Syntax error
- # type BinTree = BinLeaf of int | BinNode of BinTree * BinTree
- ;;
- Error: Syntax error
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement