packages feed

i-0.1: i.cabal

cabal-version: 2.4
name: i
version: 0.1
license: Apache-2.0
license-file: LICENSE
extra-source-files: README.md CHANGELOG.md
author: Renzo Carbonara
maintainer: renλren.zone
copyright: Copyright (c) Renzo Carbonara 2023
category: Numbers
build-type: Custom
synopsis: Haskell interval types. Bounds checking.
description: Haskell interval types. Bounds checking.
homepage: https://github.com/k0001/hs-i
bug-reports: https://github.com/k0001/hs-i/issues
tested-with: GHC ==9.4.3

common basic
  default-language: GHC2021
  ghc-options: -O2 -Wall
  build-depends: base ==4.*
  default-extensions:
    DataKinds
    DefaultSignatures
    DerivingStrategies
    GeneralizedNewtypeDeriving
    LambdaCase
    MultiWayIf
    RoleAnnotations
    TypeFamilies
    ViewPatterns

custom-setup
  setup-depends:
    base ==4.*,
    directory,
    Cabal ==3.*,

library
  import: basic
  hs-source-dirs: hs
  build-depends:
    constraints,
    kind-integer,
    kind-rational,
  exposed-modules: I
  other-modules:
    I.Int8
    I.Integer
    I.Internal
    I.Natural
    I.Rational
    I.Word8
    I.Autogen.CChar
    I.Autogen.CInt
    I.Autogen.CIntMax
    I.Autogen.CIntPtr
    I.Autogen.CLLong
    I.Autogen.CLong
    I.Autogen.CPtrdiff
    I.Autogen.CSChar
    I.Autogen.CShort
    I.Autogen.CSize
    I.Autogen.CUChar
    I.Autogen.CUInt
    I.Autogen.CUIntMax
    I.Autogen.CUIntPtr
    I.Autogen.CULLong
    I.Autogen.CULong
    I.Autogen.CUShort
    I.Autogen.CWchar
    I.Autogen.Int
    I.Autogen.Int16
    I.Autogen.Int32
    I.Autogen.Int64
    I.Autogen.Word
    I.Autogen.Word16
    I.Autogen.Word32
    I.Autogen.Word64
  autogen-modules:
    I.Autogen.CChar
    I.Autogen.CInt
    I.Autogen.CIntMax
    I.Autogen.CIntPtr
    I.Autogen.CLLong
    I.Autogen.CLong
    I.Autogen.CPtrdiff
    I.Autogen.CSChar
    I.Autogen.CShort
    I.Autogen.CSize
    I.Autogen.CUChar
    I.Autogen.CUInt
    I.Autogen.CUIntMax
    I.Autogen.CUIntPtr
    I.Autogen.CULLong
    I.Autogen.CULong
    I.Autogen.CUShort
    I.Autogen.CWchar
    I.Autogen.Int
    I.Autogen.Int16
    I.Autogen.Int32
    I.Autogen.Int64
    I.Autogen.Word
    I.Autogen.Word16
    I.Autogen.Word32
    I.Autogen.Word64

test-suite test
  import: basic
  type: exitcode-stdio-1.0
  hs-source-dirs: test
  main-is: I/Test/Main.hs
  ghc-options: -threaded -with-rtsopts=-N -main-is I.Test.Main.main
  other-modules:
    I.Test.Int8
    I.Test.Integer
    I.Test.Natural
    I.Test.Rational
    I.Test.Support
    I.Test.Word8
  build-depends:
    i,
    constraints,
    hedgehog,
    kind-integer,
    kind-rational,
    tasty,
    tasty-hedgehog,
    tasty-hunit,