Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@
dist-newstyle
*~
.DS_Store
.zed/settings.json
127 changes: 76 additions & 51 deletions package.yaml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
name: pantomime-base
version: 0.1.0.0
github: "githubuser/pantomime-base"
license: BSD-3-Clause
author: "Author name here"
maintainer: "example@example.com"
copyright: "2026 Author name here"
name: pantomime-base
version: 0.1.0.0
github: "githubuser/pantomime-base"
license: BSD-3-Clause
author: "Author name here"
maintainer: "example@example.com"
copyright: "2026 Author name here"

extra-source-files:
- README.md
- CHANGELOG.md
- README.md
- CHANGELOG.md

# Metadata used when publishing your package
# synopsis: Short description of your package
Expand All @@ -17,54 +17,79 @@ extra-source-files:
# To avoid duplicated efforts in documentation and dealing with the
# complications of embedding Haddock markup inside cabal files, it is
# common to point users to the README.md file.
description: Please see the README on GitHub at <https://github.com/githubuser/pantomime-base#readme>
description: Please see the README on GitHub at <https://github.com/githubuser/pantomime-base#readme>

default-extensions:
- AllowAmbiguousTypes
- BlockArguments
- ConstraintKinds
- DataKinds
- DeriveDataTypeable
- DeriveTraversable
- FlexibleContexts
- FlexibleInstances
- GADTs
- ImportQualifiedPost
- KindSignatures
- LambdaCase
- MultiParamTypeClasses
- MultiWayIf
- NamedFieldPuns
- RankNTypes
- RecordWildCards
- ScopedTypeVariables
- TemplateHaskell
- TupleSections
- TypeAbstractions
- TypeApplications
- TypeFamilies
- TypeOperators
- AllowAmbiguousTypes
- BlockArguments
- ConstraintKinds
- DataKinds
- DeriveDataTypeable
- DeriveTraversable
- FlexibleContexts
- FlexibleInstances
- GADTs
- ImportQualifiedPost
- KindSignatures
- LambdaCase
- MultiParamTypeClasses
- MultiWayIf
- NamedFieldPuns
- RankNTypes
- RecordWildCards
- ScopedTypeVariables
- TemplateHaskell
- TupleSections
- TypeAbstractions
- TypeApplications
- TypeFamilies
- TypeOperators

dependencies:
- base >= 4.7 && < 5
- composition
- constraints
- ghc-bignum
- ghc-prim
- pantomime
- base >= 4.7 && < 5
- bytestring
- composition
- constraints
- ghc-bignum
- ghc-internal
- ghc-prim
- pantomime
- template-haskell

ghc-options:
- -Wall
- -Wcompat
- -Widentities
- -Wincomplete-record-updates
- -Wincomplete-uni-patterns
- -Wmissing-export-lists
- -Wmissing-home-modules
- -Wpartial-fields
- -Wredundant-constraints
- -Wprepositive-qualified-module
- -fexpose-all-unfoldings
- -Wall
- -Wcompat
- -Widentities
- -Wincomplete-record-updates
- -Wincomplete-uni-patterns
- -Wmissing-export-lists
- -Wmissing-home-modules
- -Wpartial-fields
- -Wredundant-constraints
- -Wprepositive-qualified-module
- -fexpose-all-unfoldings

library:
source-dirs: src

tests:
pantomime-base-test:
main: Main.hs
source-dirs: test
ghc-options:
- -threaded
- -rtsopts
- -with-rtsopts=-N
- -fplugin=Pantomime
default-extensions:
- MagicHash
- UnboxedTuples
dependencies:
- pantomime-base
- pantomime
- bytestring
- hspec
- hspec-expectations
- ghc-prim
- iproute
- containers
77 changes: 76 additions & 1 deletion pantomime-base.cabal
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
cabal-version: 2.2

-- This file has been generated from package.yaml by hpack version 0.39.1.
-- This file has been generated from package.yaml by hpack version 0.38.1.
--
-- see: https://github.com/sol/hpack

Expand All @@ -26,6 +26,8 @@ source-repository head
library
exposed-modules:
Pantomime.Base
Pantomime.IO
Pantomime.Ptr
other-modules:
Paths_pantomime_base
autogen-modules:
Expand Down Expand Up @@ -60,9 +62,82 @@ library
ghc-options: -Wall -Wcompat -Widentities -Wincomplete-record-updates -Wincomplete-uni-patterns -Wmissing-export-lists -Wmissing-home-modules -Wpartial-fields -Wredundant-constraints -Wprepositive-qualified-module -fexpose-all-unfoldings
build-depends:
base >=4.7 && <5
, bytestring
, composition
, constraints
, ghc-bignum
, ghc-internal
, ghc-prim
, pantomime
, template-haskell
default-language: Haskell2010

test-suite pantomime-base-test
type: exitcode-stdio-1.0
main-is: Main.hs
other-modules:
BoolTest
ByteStringTest
Common
ContainersTest
Int
Int16
Int32
Int64
Int8
IntegerTest
IOTest
IProuteTest
PtrTest
Word
Word64
Word8
Paths_pantomime_base
autogen-modules:
Paths_pantomime_base
hs-source-dirs:
test
default-extensions:
AllowAmbiguousTypes
BlockArguments
ConstraintKinds
DataKinds
DeriveDataTypeable
DeriveTraversable
FlexibleContexts
FlexibleInstances
GADTs
ImportQualifiedPost
KindSignatures
LambdaCase
MultiParamTypeClasses
MultiWayIf
NamedFieldPuns
RankNTypes
RecordWildCards
ScopedTypeVariables
TemplateHaskell
TupleSections
TypeAbstractions
TypeApplications
TypeFamilies
TypeOperators
MagicHash
UnboxedTuples
ghc-options: -Wall -Wcompat -Widentities -Wincomplete-record-updates -Wincomplete-uni-patterns -Wmissing-export-lists -Wmissing-home-modules -Wpartial-fields -Wredundant-constraints -Wprepositive-qualified-module -fexpose-all-unfoldings -threaded -rtsopts -with-rtsopts=-N -fplugin=Pantomime
build-depends:
base >=4.7 && <5
, bytestring
, composition
, constraints
, containers
, ghc-bignum
, ghc-internal
, ghc-prim
, hspec
, hspec-expectations
, iproute
, pantomime
, pantomime-base
, template-haskell
default-language: Haskell2010
Loading