?

Log in

No account? Create an account
ghc-mod 1.11.5
eye
voidex

Немного пропатчил ghc-mod, теперь он умеет вот так:

ghc-mod browse -d -o Data.Either

Left
Right
data Either a b
either :: (a -> c) -> (b -> c) -> Either a b -> c
lefts :: [Either a b] -> [a]
partitionEithers :: [Either a b] -> ([a], [b])
rights :: [Either a b] -> [b]