Skip to content

Instantly share code, notes, and snippets.

@sajith
Created January 28, 2018 17:07
Show Gist options
  • Save sajith/a9813192a6066542e8fbc3359818dfd6 to your computer and use it in GitHub Desktop.
Save sajith/a9813192a6066542e8fbc3359818dfd6 to your computer and use it in GitHub Desktop.
:set prompt "λ » "
:def h \x -> return $ ":!hoogle -n 15 \"" ++ x ++ "\""
:def hoogle \x -> return $ ":!hoogle -n 15 \"" ++ x ++ "\""
:def doc \x -> return $ ":!hoogle --info \"" ++ x ++ "\""
:def hlint \x -> return $ ":!hlint \"" ++ x ++ "\""
:def package \m -> return $ ":!ghc-pkg --simple-output find-module " ++ m
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment