name: sized-grid
version: 0.1.0.0
cabal-version: >=1.10
category: Data
build-type: Simple
license: MIT
license-file: LICENSE
maintainer: ed@wastell.co.uk
bug-reports: https://github.com/edwardwas/sized-grid/issues
synopsis: Multidimensional grids with sized specified at compile time
author: edwardwas
homepage: https://github.com/edwardwas/sized-grid
description:
  `size-grid` allows you to make finite sized grids and have their size and shape confirmed at compile time
  .
  Consult the readme for a short tutorial and explanation.
extra-source-files:
    ChangeLog.md
    README.lhs
    README.md

library
    exposed-modules:
        SizedGrid.Ordinal
        SizedGrid.Coord
        SizedGrid.Coord.Class
        SizedGrid.Coord.Periodic
        SizedGrid.Coord.HardWrap
        SizedGrid.Grid.Class
        SizedGrid.Grid.Grid
        SizedGrid.Grid.Focused
        SizedGrid
    build-depends:
        base >=4.8 && <4.12,
        lens >=4.16.1 && <4.17,
        vector >=0.12.0.1 && <0.13,
        vector-space ==0.13.*,
        generics-sop >=0.3.2.0 && <0.4,
        distributive >=0.5.3 && <0.6,
        adjunctions ==4.4.*,
        comonad >=5.0.3 && <5.1,
        random ==1.1.*,
        mtl >=2.2.2 && <2.3,
        constraints ==0.10.*,
        aeson >=1.2.4.0 && <1.3
    default-language: Haskell2010
    hs-source-dirs: src
    other-modules:
        SizedGrid.Internal.Type
    ghc-options: -Wall -Wcompat -Wincomplete-record-updates -Wincomplete-uni-patterns -Wredundant-constraints

test-suite  tests
    type: exitcode-stdio-1.0
    main-is: Main.hs
    build-depends:
        base >=4.8 && <4.12,
        sized-grid -any,
        hedgehog >=0.5.3 && <0.6,
        tasty >=1.0.1.1 && <1.1,
        tasty-hedgehog >=0.1.0.2 && <0.2,
        vector-space ==0.13.*,
        generics-sop >=0.3.2.0 && <0.4,
        lens >=4.16.1 && <4.17,
        adjunctions ==4.4.*,
        aeson >=1.2.4.0 && <1.3,
        HUnit >=1.6.0.0 && <1.7,
        tasty-hunit >=0.10.0.1 && <0.11
    default-language: Haskell2010
    hs-source-dirs: tests
    other-modules:
        Test.Utils
test-suite  readme
    type: exitcode-stdio-1.0
    main-is: README.lhs
    build-depends:
        base >=4.10.1.0 && <4.11,
        markdown-unlit >=0.5.0 && <0.6,
        sized-grid -any,
        distributive >=0.5.3 && <0.6,
        adjunctions ==4.4.*,
        vector-space ==0.13.*,
        comonad >=5.0.3 && <5.1,
        lens >=4.16.1 && <4.17,
        ansi-terminal >=0.8.0.2 && <0.9
    default-language: Haskell2010
    ghc-options: -pgmL markdown-unlit