ekmett / contravariant

Haskell 98 contravariant functors
http://hackage.haskell.org/package/contravariant
Other
73 stars 24 forks source link

Add printer combinators dual to parser combinators #71

Open echatav opened 2 years ago

echatav commented 2 years ago

Divisible Combinators

Decidable Combinators

echatav commented 2 years ago

Also, is it worth adding (>|), (|<), and (>|<) from the gwils talk?

I think (>|<) should be added in another PR since it's just a synonym for chosen. I don't think the others exist.

echatav commented 2 years ago

Also, is it worth adding (>|), (|<), and (>|<) from the gwils talk?

I think (>|<) should be added in another PR since it's just a synonym for chosen. I don't think the others exist.

I also think that Tom Ellis's(><) = divide (\a -> (a, a)) should be added in another PR