3 ms·
This seems exactly the same to me just with more complicated type names.
by whimsicalism 4y ago
This seems exactly the same to me just with more complicated type names.
- deleted 4y ago[deleted]
- abathologist 4y agoIndeed it is :) Dropping an example in TryOcaml[0]: let f : int -> int = fun _ -> 1 ;; val f : int -> int = <fun> let ex : int list = [f] ;; Line 1, characters 21-22: Error: This expression has type int -> int but an expression was expected of type int [0]: https://try.ocamlpro.com/ https://try.ocamlpro.com/