Skip to content

khazhoyan/hoogle_in_docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

Docker image with hoogle plugged into GHCi.

Allows for hoogle-style docs and definitions searching:

Prelude> :hoogle Random a => (a, a) -> IO a
  System.Random randomRIO :: Random a => (a, a) -> IO a

Prelude> :doc take
  take :: Int -> [a] -> [a]
  base Prelude
  take n, applied to a list xs, returns the
  prefix of xs of length n, or xs itself if
  n > length xs:

  take 5 "Hello World!" == "Hello"
  ...

Usage is as simple as if you used the official haskell image: run $ docker run -it --rm khazhoyan/haskell and play around with hoogle-flavored GHCi.

Releases

No releases published

Packages

No packages published