Skip to content

Instantly share code, notes, and snippets.

@swannodette
Created December 2, 2011 21:35
Show Gist options
  • Save swannodette/1424929 to your computer and use it in GitHub Desktop.
Save swannodette/1424929 to your computer and use it in GitHub Desktop.
test.sml
let
val Id = fn x => x
in
Id
end
(*
Warning: type vars not generalized because of
value restriction are instantiated to dummy types (X1,X2,...)
val it = fn : ?.X1 -> ?.X1
val it = () : unit
*)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment