Skip to content

Instantly share code, notes, and snippets.

@fatlazycat
Created May 6, 2012 20:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fatlazycat/2624358 to your computer and use it in GitHub Desktop.
Save fatlazycat/2624358 to your computer and use it in GitHub Desktop.
eclipsefp
name: learn-haskell
version: 0.0.1
cabal-version: >=1.8
build-type: Simple
license: AllRightsReserved
license-file: ""
data-dir: ""
executable learn-haskell
build-depends: base -any
buildable: True
hs-source-dirs: src
other-modules:
Chapter1,
Chapter2
main-is: Main.hs
test-suite test-learn-haskell
build-depends: QuickCheck -any, hspec -any, HUnit -any, base -any
type: exitcode-stdio-1.0
main-is: TestMain.hs
hs-source-dirs: src test
-------
*Main> :run main
Hello World 30
*Main> :show modules
Main ( /Users/graham/Development/code/sandbox/haskell/learn-haskell/src/Main.hs, interpreted )
Chapter1 ( src/Chapter1.hs, interpreted )
Chapter2 ( src/Chapter2.hs, /Users/graham/Development/code/sandbox/haskell/learn-haskell/.dist-buildwrapper/dist/build/learn-haskell/learn-haskell-tmp/Chapter2.o )
*Main>
---
*Main> :show modules
Main ( /Users/graham/Development/code/sandbox/haskell/learn-haskell/src/Main.hs, interpreted )
Chapter1 ( src/Chapter1.hs, interpreted )
Chapter2 ( src/Chapter2.hs, /Users/graham/Development/code/sandbox/haskell/learn-haskell/.dist-buildwrapper/dist/build/learn-haskell/learn-haskell-tmp/Chapter2.o )
*Main> :show breaks
[1] Chapter1 src/Chapter1.hs:7:1-18
*Main>
---*Main> main
Hello World 30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment