PLTools / OCanren

Statically typed embedding of miniKanren relational programming language into OCaml
GNU Lesser General Public License v2.1
117 stars 19 forks source link

wrong type signature for distrib from Fmap2 #140

Closed YueLiPicasso closed 3 years ago

YueLiPicasso commented 3 years ago

For two argument type constructors, the distrib function shall have type:

(('a,'b) injected, ('c, 'd) injected) T.t -> (('a, 'c) t, ('b, 'd) T.t) injected

instead of the wrong one as appear in the source.