解答例
SML#での推論例を示す.
# fn x => x > 1;
val it = fn : int -> bool
# fn x => fn y => fn z => (x y,x "Ada",y > z);
val it = fn : [’a .(string -> ’a) -> string -> string -> ’a * ’a * bool]
# fn x => fn y => y (x > x);
val it = fn : int -> [’a .(bool -> ’a) -> ’a]