Created
August 21, 2019 14:29
-
-
Save Pitometsu/a8e1ae10f3f48cd6b47df5013b49c33e to your computer and use it in GitHub Desktop.
first-class module dependent types
This file contains hidden or 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
let f (type k) : x:((module Caml.Map.S with type key = k) as 'a) -> y:'a -> z:k -> unit = fun ~x:(_) ~y:(_) ~z:(_) -> ();; | |
val f : | |
x:(module Core.Caml.Map.S with type key = 'a) -> | |
y:(module Core.Caml.Map.S with type key = 'a) -> z:'a -> unit = <fun> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
But: