Typing problem when generating gathered event-mapped signals
Closed this issue · 1 comments
remyzorg commented
The scope of the type variables is weird, see this example :
let make v1 v2 = v1, v2 in
let a =
let (x, y) : ('a * ('a -> 'b -> 'a)) =
("", fun acc x -> acc ^ x)
in make x y
in
let b =
let (x, y) : ('a * ('a -> 'b -> 'a)) =
([], fun acc x -> x :: acc)
in make x y
in a, b
see eb9da6d