Advertisement
Guest User

Untitled

a guest
Nov 4th, 2017
121
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None | 0 0
  1. # type binary_tree =
  2. | Leaf of int
  3. | Tree of binary_tree * binary_tree;;
  4. type binary_tree = Leaf of int | Tree of binary_tree * binary_tree
  5. # type BinTree =
  6. |BinLeaf of int
  7. | BinNode of BinTree * BinTree;;
  8. Error: Syntax error
  9. # type BinTree = BinLeaf of int | BinNode of BinTree * BinTree
  10. ;;
  11. Error: Syntax error
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement