Guest User

Untitled

a guest
May 28th, 2018
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.91 KB | None | 0 0
  1. [nix-shell:~/development/freq]$ cabal new-build
  2. Build profile: -w ghc-8.4.1 -O1
  3. In order, the following will be built (use -v for more details):
  4. - freq-0.1.0.0 (lib) (file src/Freq/Internal.hs changed)
  5. - freq-0.1.0.0 (exe:freq-train) (configuration changed)
  6. Preprocessing library for freq-0.1.0.0..
  7. Building library for freq-0.1.0.0..
  8. [1 of 2] Compiling Freq.Internal ( src/Freq/Internal.hs, /home/dcartwright/development/freq/dist-newstyle/build/x86_64-linux/ghc-8.4.1/freq-0.1.0.0/build/Freq/Internal.o )
  9. [2 of 2] Compiling Freq ( src/Freq.hs, /home/dcartwright/development/freq/dist-newstyle/build/x86_64-linux/ghc-8.4.1/freq-0.1.0.0/build/Freq.o ) [Freq.Internal changed]
  10. Configuring executable 'freq-train' for freq-0.1.0.0..
  11. Preprocessing executable 'freq-train' for freq-0.1.0.0..
  12. Building executable 'freq-train' for freq-0.1.0.0..
  13. [1 of 1] Compiling Main ( app/Main.hs, /home/dcartwright/development/freq/dist-newstyle/build/x86_64-linux/ghc-8.4.1/freq-0.1.0.0/x/freq-train/build/freq-train/freq-train-tmp/Main.o ) [Freq changed]
  14. Linking /home/dcartwright/development/freq/dist-newstyle/build/x86_64-linux/ghc-8.4.1/freq-0.1.0.0/x/freq-train/build/freq-train/freq-train ...
  15.  
  16. [nix-shell:~/development/freq]$ cabal new-haddock
  17. Up to date
  18.  
  19. [nix-shell:~/development/freq]$ rm -rf dist*
  20.  
  21. [nix-shell:~/development/freq]$ cabal new-haddock
  22. Resolving dependencies...
  23. Build profile: -w ghc-8.4.1 -O1
  24. In order, the following will be built (use -v for more details):
  25. - freq-0.1.0.0 (lib) (first run)
  26. Configuring library for freq-0.1.0.0..
  27. Preprocessing library for freq-0.1.0.0..
  28. Running Haddock on library for freq-0.1.0.0..
  29. Haddock coverage:
  30.  
  31. src/Freq/Internal.hs:208:3: error:
  32. parse error on input ‘{-# UNPACK’
  33. |
  34. 208 | {-# UNPACK #-} !ByteArray -- ^ Square two-dimensional array of Double, maps first char and second char to probability
  35. | ^^^^^^^^^^
  36. cabal: Failed to build documentation for freq-0.1.0.0.
Add Comment
Please, Sign In to add comment