Description
Plugin to generalize comprehensions.
Description
Add the following to your source file:
{-# LANGUAGE ApplicativeDo #-}
{-# OPTIONS_GHC -fplugin=Comprehension.Plugin #-}
Now all comprehensions have an Applicative
rather than a Monad
constraint if possible ☺
README.md