Add Encode typeclass
This commit is contained in:
parent
5d02a9e424
commit
6dc02d4d3a
8 changed files with 214 additions and 16 deletions
|
|
@ -17,13 +17,23 @@ extra-source-files:
|
|||
library
|
||||
exposed-modules:
|
||||
FilePack
|
||||
FilePack.Encode
|
||||
FilePack.FileData
|
||||
other-modules:
|
||||
Paths_filepack
|
||||
hs-source-dirs:
|
||||
src
|
||||
ghc-options: -Wall
|
||||
default-extensions:
|
||||
BlockArguments
|
||||
OverloadedStrings
|
||||
ImportQualifiedPost
|
||||
ghc-options: -Wall -fdefer-typed-holes
|
||||
build-depends:
|
||||
base >=4.13 && <5
|
||||
base
|
||||
, base64-bytestring
|
||||
, bytestring
|
||||
, text
|
||||
, unix
|
||||
default-language: GHC2021
|
||||
|
||||
executable filepack
|
||||
|
|
@ -32,8 +42,66 @@ executable filepack
|
|||
Paths_filepack
|
||||
hs-source-dirs:
|
||||
app
|
||||
ghc-options: -Wall
|
||||
default-extensions:
|
||||
BlockArguments
|
||||
OverloadedStrings
|
||||
ImportQualifiedPost
|
||||
ghc-options: -Wall -fdefer-typed-holes
|
||||
build-depends:
|
||||
base >=4.13 && <5
|
||||
base
|
||||
, base64-bytestring
|
||||
, bytestring
|
||||
, filepack
|
||||
, text
|
||||
, unix
|
||||
default-language: GHC2021
|
||||
|
||||
test-suite doctest
|
||||
type: exitcode-stdio-1.0
|
||||
main-is: Doctest.hs
|
||||
other-modules:
|
||||
Paths_filepack
|
||||
hs-source-dirs:
|
||||
test/doctest
|
||||
default-extensions:
|
||||
BlockArguments
|
||||
OverloadedStrings
|
||||
ImportQualifiedPost
|
||||
ghc-options: -Wall -fdefer-typed-holes
|
||||
build-tool-depends:
|
||||
doctest:doctest
|
||||
build-depends:
|
||||
base
|
||||
, base64-bytestring
|
||||
, bytestring
|
||||
, process
|
||||
, text
|
||||
, unix
|
||||
default-language: Haskell2010
|
||||
|
||||
test-suite spec
|
||||
type: exitcode-stdio-1.0
|
||||
main-is: Spec.hs
|
||||
other-modules:
|
||||
Paths_filepack
|
||||
hs-source-dirs:
|
||||
test/spec
|
||||
default-extensions:
|
||||
BlockArguments
|
||||
OverloadedStrings
|
||||
ImportQualifiedPost
|
||||
ghc-options: -Wall -fdefer-typed-holes
|
||||
cpp-options: -DTEST
|
||||
build-tool-depends:
|
||||
hspec-discover:hspec-discover
|
||||
build-depends:
|
||||
QuickCheck
|
||||
, base
|
||||
, base64-bytestring
|
||||
, bytestring
|
||||
, filepack
|
||||
, hspec
|
||||
, quickcheck-instances
|
||||
, text
|
||||
, unix
|
||||
default-language: GHC2021
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue