Guest User

Untitled

a guest
Aug 4th, 2019
139
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.90 KB | None | 0 0
  1. [nix-shell:~/work/src/haskell/hpfp/Chapter-14/wordnumber]$ ghci
  2. GHCi, version 8.6.5: http://www.haskell.org/ghc/ :? for help
  3. Loaded package environment from /home/hs-user/work/src/haskell/hpfp/Chapter-14/wordnumber/.gh
  4. c.environment.x86_64-linux-8.6.5
  5. Prelude> import Test.Hspec
  6.  
  7. <no location info>: error:
  8. Could not load module ‘Test.Hspec’
  9. It is a member of the hidden package ‘hspec-2.6.1’.
  10. You can run ‘:set -package hspec’ to expose it.
  11. (Note: this unloads all the modules in the current scope.)
  12. Prelude> :set -package hspec
  13. package flags have changed, resetting and loading new packages...
  14. Prelude> import Test.Hsepc
  15.  
  16. <no location info>: error:
  17. Could not find module ‘Test.Hsepc’
  18. Perhaps you meant Test.Hspec (from hspec-2.6.1)
  19. Prelude> import Test.Hspec
  20. Prelude Test.Hspec> :q
  21. Leaving GHCi.
Add Comment
Please, Sign In to add comment