packages feed

monad-dijkstra-0.1.1.5: monad-dijkstra.cabal

cabal-version: >=1.10
name:          monad-dijkstra
version:       0.1.1.5
license:       BSD3
license-file:  LICENSE
copyright:     Copyright (c) 2016-2023 Enno Cramer
maintainer:    Enno Cramer <ecramer@memfrob.de>
author:        Enno Cramer
homepage:      https://github.com/ennocramer/monad-dijkstra
synopsis:      A monad transformer for weighted graph searches
description:
    A monad transformer for weighted graph searches using Dijkstra's or A* algorithm.

category:      Control, Monads
build-type:    Simple

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

source-repository head
    type:     git
    location: https://github.com/ennocramer/monad-dijkstra

library
    exposed-modules:  Control.Monad.Search
    hs-source-dirs:   src
    default-language: Haskell2010
    ghc-options:      -Wall
    build-depends:
        base >=4.7 && <5,
        containers >=0.5.6.2 && <0.8,
        transformers >=0.4.2.0 && <0.7,
        mtl >=2.2.0 && <2.4,
        free >=4.12.0 && <5.3,
        psqueues >=0.2.0.0 && <0.3

test-suite test-monad-dijkstra
    type:             exitcode-stdio-1.0
    main-is:          Main.hs
    hs-source-dirs:   test
    default-language: Haskell2010
    ghc-options:      -Wall -threaded -rtsopts -with-rtsopts=-N
    build-depends:
        base >=4.7 && <5,
        hspec -any,
        tasty -any,
        tasty-hspec -any,
        monad-dijkstra -any

    if !impl(ghc >=8.0)
        build-depends: semigroups >=0.18.0 && <0.19

test-suite style-monad-dijkstra
    type:             exitcode-stdio-1.0
    main-is:          HLint.hs
    hs-source-dirs:   test
    default-language: Haskell2010
    ghc-options:      -Wall -threaded -rtsopts -with-rtsopts=-N
    build-depends:
        base >=4.7 && <5,
        hlint >=1.0 && <4