Created
November 5, 2014 11:22
-
-
Save nomaddo/f1b98e809cf2674103bf to your computer and use it in GitHub Desktop.
::2.ml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# type 'a t = :: of 'a t * 'a t | Leaf of 'a;; | |
type 'a t = :: of 'a t * 'a t | Leaf of 'a | |
# Leaf 1 :: Leaf 2 :: Leaf 3;; | |
- : int t = :: (Leaf 1, :: (Leaf 2, Leaf 3)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment