by mjarrett · 2y ago · 0 comments
type foo_bar = < _foo : int; _bar : string >
For a family of types matching any object with those methods, I think you can write something like type 'a has_foo_bar = < _foo : int; _bar : string; .. > as 'aNo comments yet.