feat: add sample

This commit is contained in:
2020-11-08 10:23:26 +08:00
parent 1a25f16912
commit c028f79644
13 changed files with 254 additions and 1 deletions

62
sample/sample.cabal Normal file
View File

@@ -0,0 +1,62 @@
cabal-version: 1.12
-- This file has been generated from package.yaml by hpack version 0.33.0.
--
-- see: https://github.com/sol/hpack
--
-- hash: 985d539179859dfd4b85a2a743fe54d2c3cb311713c8be19fe321512aadf3390
name: sample
version: 0.1.0.0
description: Please see the README on GitHub at <https://github.com/githubuser/sample#readme>
homepage: https://github.com/githubuser/sample#readme
bug-reports: https://github.com/githubuser/sample/issues
author: Author name here
maintainer: example@example.com
copyright: 2020 Author name here
license: BSD3
license-file: LICENSE
build-type: Simple
extra-source-files:
README.md
ChangeLog.md
source-repository head
type: git
location: https://github.com/githubuser/sample
library
exposed-modules:
Lib
other-modules:
Paths_sample
hs-source-dirs:
src
build-depends:
base >=4.7 && <5
default-language: Haskell2010
executable sample-exe
main-is: Main.hs
other-modules:
Paths_sample
hs-source-dirs:
app
ghc-options: -threaded -rtsopts -with-rtsopts=-N
build-depends:
base >=4.7 && <5
, sample
default-language: Haskell2010
test-suite sample-test
type: exitcode-stdio-1.0
main-is: Spec.hs
other-modules:
Paths_sample
hs-source-dirs:
test
ghc-options: -threaded -rtsopts -with-rtsopts=-N
build-depends:
base >=4.7 && <5
, sample
default-language: Haskell2010