Skip to content

Commit

Permalink
0.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
mixphix committed Oct 28, 2023
1 parent ed2cd58 commit 1e3cc5a
Show file tree
Hide file tree
Showing 5 changed files with 287 additions and 163 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Revision history for deep-maps

## 0.2.0

* Heterogenous list `type Deep :: [Type] -> Type` to increase compatibility with `indexed-traversable`. Requires an `Ord` constraint upfront to construct any nontrivial values.
* related `_Deep` functions

## 0.1.1.0 -- 2021-12-07

* Strict variants of `foldMapWithKey(N)`
Expand Down
96 changes: 28 additions & 68 deletions deep-map.cabal
Original file line number Diff line number Diff line change
@@ -1,87 +1,47 @@
cabal-version: 2.4
name: deep-map
version: 0.1.1.0
category: Data, Statistics
synopsis: Deeply-nested, multiple key type maps.
description: Please see the README at https://github.com/mixphix/deep-map
homepage: https://github.com/mixphix/deep-map
bug-reports: https://github.com/mixphix/deep-map/issues
license: BSD-3-Clause
copyright: 2021 Melanie Brown
author: Melanie Brown
maintainer: brown.m@pm.me
tested-with:
-- GHC ^>= 9.2,
GHC ^>= 9.0,
GHC ^>= 8.10,
GHC ^>= 8.8,
GHC ^>= 8.6,
GHC ^>= 8.4
cabal-version: 3.4
name: deep-map
version: 0.2.0
category: Data, Statistics
synopsis: Deeply-nested, multiple key type maps.
description:
Please see the README at https://github.com/mixphix/deep-map

homepage: https://github.com/mixphix/deep-map
bug-reports: https://github.com/mixphix/deep-map/issues
license: BSD-3-Clause
copyright: 2021 Melanie Brown
author: Melanie Brown
maintainer: brown.m@pm.me
extra-source-files:
README.md
CHANGELOG.md
README.md

common extensions
ghc-options: -Wall
default-language:
Haskell2010
default-extensions:
BangPatterns
ConstraintKinds
BlockArguments
DataKinds
DeriveDataTypeable
DeriveFoldable
DeriveFunctor
DeriveGeneric
DeriveLift
DeriveTraversable
DefaultSignatures
DerivingStrategies
EmptyCase
FlexibleContexts
FlexibleInstances
GADTs
GeneralizedNewtypeDeriving
FunctionalDependencies
LambdaCase
MultiParamTypeClasses
MultiWayIf
NamedFieldPuns
OverloadedRecordDot
OverloadedStrings
PatternSynonyms
PolyKinds
QuasiQuotes
RecordWildCards
ScopedTypeVariables
StandaloneDeriving
TupleSections
TypeApplications
TypeFamilies
TypeOperators
ViewPatterns

ghc-options: -O2 -Wall
default-language: GHC2021

library
import: extensions
hs-source-dirs:
src
import: extensions
hs-source-dirs: src
build-depends:
base >= 4.11 && < 5
, containers >= 0.5.11 && < 0.7
, indexed-traversable ^>= 0.1.2
exposed-modules:
Data.Map.Deep
, base >=4.11 && <5
, containers >=0.5.11 && <0.7
, indexed-traversable ^>=0.1.2

test-suite test-readme
import: extensions
hs-source-dirs:
tests
type:
exitcode-stdio-1.0
main-is:
test-readme.hs
build-depends:
deep-map
, base
, containers
, hedgehog
, text
, time
, time-compat
exposed-modules: Data.Map.Deep
5 changes: 0 additions & 5 deletions hie.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,2 @@
cradle:
cabal:
- path: "./src"
component: "lib:deep-map"

- path: "./tests"
component: "deep-map:test:test-readme"
Loading

0 comments on commit 1e3cc5a

Please sign in to comment.