Created
November 5, 2014 11:22
-
-
Save nomaddo/375aab1c263b97ccbc4f to your computer and use it in GitHub Desktop.
::1
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 t = :: of int * float;; | |
type t = :: of int * float | |
# 1 :: 1.1;; | |
- : t = :: (1, 1.1) | |
# 1 :: [];; | |
Characters 5-7: | |
1 :: [];; | |
^^ | |
Error: This expression has type 'a list | |
but an expression was expected of type float |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment