Created
November 24, 2012 15:05
-
-
Save fujimura/4140026 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
dist | |
cabal-dev | |
*.o | |
*.hi | |
*.chi | |
*.chs.h |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- Initial bs.cabal generated by cabal init. For further documentation, | |
-- see http://haskell.org/cabal/users-guide/ | |
name: bs | |
version: 0.1.0.0 | |
-- synopsis: | |
-- description: | |
-- license: | |
license-file: LICENSE | |
-- author: | |
-- maintainer: | |
-- copyright: | |
-- category: | |
build-type: Simple | |
cabal-version: >=1.8 | |
library | |
-- exposed-modules: | |
-- other-modules: | |
build-depends: base ==4.5.* | |
, bytestring |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Data.ByteString | |
main = print "foo" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ ghc-mod check Main.hs | |
GHCi runtime linker: fatal error: I found a duplicate definition for symbol | |
_fps_count | |
whilst processing object file | |
/Users/fujimura/.cabal/lib/bytestring-0.10.0.1/ghc-7.4.2/HSbytestring-0.10.0.1.o | |
This could be caused by: | |
* Loading two different object files which export the same symbol | |
* Specifying the same object file twice on the GHCi command line | |
* An incorrect `package.conf' entry, causing some object to be | |
loaded twice. | |
GHCi cannot safely continue in this situation. Exiting now. Sorry. | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Distribution.Simple | |
main = defaultMain |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ ghc --version | |
The Glorious Glasgow Haskell Compilation System, version 7.4.2 | |
$ cabal --version | |
cabal-install version 1.16.0.2 | |
using version 1.16.0.3 of the Cabal library |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment