Skip to content

Instantly share code, notes, and snippets.

@IgnoredAmbience
Created September 8, 2015 17:50
Show Gist options
  • Save IgnoredAmbience/a6a31a1ef6f2be251a2c to your computer and use it in GitHub Desktop.
Save IgnoredAmbience/a6a31a1ef6f2be251a2c to your computer and use it in GitHub Desktop.
$ ocamlc -version
4.02.2
$ ocamlc -I . stack.ml
File "stack.ml", line 2, characters 24-26:
Error: Syntax error
$ ocamlc -version
4.02.1
$ ocamlc -I . stack.ml
$
type stack =
| C [@f value, stack] of int * stack
| N [@f]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment