packages feed

antelude-0.1.0: antelude.cabal

cabal-version: 3.4
name:          antelude
version:       0.1.0
synopsis:      Yet another alternative Prelude for Haskell.
description:
  A Prelude with an intention to simplify the global scope, fix up a few things, add a few things, and be as dev-friendly for everyone as possible.

author:        dneaves
maintainer:    dneavesdev@pm.me
homepage:      https://codeberg.org/dneaves/antelude
bug-reports:   https://codeberg.org/dneaves/antelude/issues
license:       MIT
license-file:  LICENSE
copyright: © 2024 dneaves
category:      Prelude
build-type:    Simple
tested-with: GHC == 9.6.4
             GHC == 9.8.2
             GHC == 9.10.1
extra-doc-files:     CHANGELOG.md

source-repository head
  type:     git
  location: git@codeberg.org:dneaves/antelude.git

common warnings
  ghc-options: -Wall

common extensions
  default-extensions:
    NoGeneralizedNewtypeDeriving
    NoImplicitPrelude
    InstanceSigs
    LambdaCase
    MultiWayIf
    Safe
    ScopedTypeVariables

library
  import:           warnings, extensions
  default-language: GHC2021
  hs-source-dirs:   src
  exposed-modules:
    Antelude
    Antelude.Array
    Antelude.Bool
    Antelude.Either
    Antelude.File
    Antelude.Function
    Antelude.IO
    Antelude.List
    Antelude.List.NonEmpty
    Antelude.Maybe
    Antelude.Monad
    Antelude.Numeric
    Antelude.Result
    Antelude.Sequence
    Antelude.String
    Antelude.String.Case
    Antelude.Tuple.Pair
    Antelude.Tuple.Trio
  other-modules:    Antelude.Internal.TypesClasses
  build-depends:
    , array >= 0.5.6 && < 0.6
    , base >= 4.18.2 && < 4.21
    , bytestring >= 0.11.5 && < 0.13
    , containers >= 0.6.7 && < 0.8
    , text >= 2.0.2 && < 2.2

test-suite antelude-test
  import:           warnings, extensions
  default-language: GHC2021
  hs-source-dirs:   test
  type:             exitcode-stdio-1.0
  main-is:          Main.hs
  build-depends:
    , antelude >= 0.1.0 && < 0.1.1
    , base >= 4.18.2 && < 4.21
    , HUnit >= 1.6.2 && < 1.7