VoidEx (voidex) wrote,
VoidEx
voidex

ghc-mod 1.11.5

Немного пропатчил 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]

Tags: fp, haskell, sublime, tools
Subscribe
  • Post a new comment

    Error

    default userpic
    When you submit the form an invisible reCAPTCHA check will be performed.
    You must follow the Privacy Policy and Google Terms of use.
  • 5 comments