Quantcast
Channel: ReScript Forum - Latest posts
Viewing all articles
Browse latest Browse all 2592

Module types for multi-argument functors

$
0
0

@liamoc If I’m not mistaken, what you’re actually looking for is this:

module Example = (A: AType, B: BType with type t = A.t) => {
  ...
}

Viewing all articles
Browse latest Browse all 2592

Trending Articles