packages feed

linear-geo-0.1.0.0: linear-geo.cabal

cabal-version:      2.4
name:               linear-geo
version:            0.1.0.0
synopsis:           Geographic coordinates, built on the linear package.
description:
    Geographic coordinates, built on the linear package.
    .
    This package provides types and functions for dealing with coordinates in
    geodetic, ECEF, and ENU coordinate systems. A particular emphasis is placed
    on numerical stability, especially for complex conversions like converting
    between geodetic and ECEF coordinates. However, not every part of every
    function has machine checked for numerical stability.


homepage:           https://github.com/TravisWhitaker/linear-geo
bug-reports:        https://github.com/TravisWhitaker/linear-geo
license:            MIT
license-file:       LICENSE
author:             Travis Whitaker
maintainer:         pi.boy.travis@gmail.com

copyright:          Travis Whitaker 2023
category:           Math
extra-source-files:
    CHANGELOG.md
    README.md

common common
    default-language: Haskell2010
    ghc-options: -O2
                 -Weverything
                 -Wcompat
                 -- -Werror
                 -Wno-unsafe
                 -Wno-type-defaults
                 -Wno-missing-safe-haskell-mode
                 -Wno-implicit-prelude
                 -Wno-missing-import-lists
                 -Wno-prepositive-qualified-module
                 -Wno-missing-kind-signatures
                 -Wno-monomorphism-restriction

library
    import:           common
    exposed-modules:  Linear.Geo
                      Linear.Geo.ECEF
                      Linear.Geo.ENU
                      Linear.Geo.Geodetic
                      Linear.Geo.PlaneAngle
    --other-modules:
    build-depends:    base >=4.14 && <5
                    , deepseq >= 1.4 && < 2
                    , distributive >= 0.6 && < 1
                    , linear >= 1.20 && < 2
                    , vector >= 0.13 && < 1
    hs-source-dirs:   src

test-suite props
    import:           common
    type:             exitcode-stdio-1.0
    hs-source-dirs:   test
    main-is:          Main.hs
    build-depends:    base >=4.14 && <5
                    , hedgehog >= 1.2 && < 2
                    , linear >= 1.20 && < 2
                    , linear-geo
                    , reflection >= 2.1 && < 3
    ghc-options:      -threaded
                      -rtsopts
                      "-with-rtsopts=-N"
                      -Wno-all-missed-specialisations