Skip to content

Instantly share code, notes, and snippets.

@mwotton
Created November 21, 2014 03:19
Show Gist options
  • Save mwotton/211c6d70fe4fc6265492 to your computer and use it in GitHub Desktop.
Save mwotton/211c6d70fe4fc6265492 to your computer and use it in GitHub Desktop.
orb ➜ ~ cat test5.hs
main = print $ heead [1..10]
orb ➜ ~ ghci test5.hs
GHCi, version 7.8.3: http://www.haskell.org/ghc/ :? for help
Loading package ghc-prim ... linking ... done.
Loading package integer-gmp ... linking ... done.
Loading package base ... linking ... done.
[1 of 1] Compiling Main ( test5.hs, interpreted )
test5.hs:1:16:
Not in scope: ‘heead’
Perhaps you meant ‘head’ (imported from Prelude)
Failed, modules loaded: none.
Prelude>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment