Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Data.IntMap.CharMap2 uses deprecated Data.IntMap.showTree #21

Closed
andreasabel opened this issue Feb 21, 2021 · 0 comments · Fixed by #39
Closed

Data.IntMap.CharMap2 uses deprecated Data.IntMap.showTree #21

andreasabel opened this issue Feb 21, 2021 · 0 comments · Fixed by #39

Comments

@andreasabel
Copy link
Member

andreasabel commented Feb 21, 2021

Compiler warning: Data.IntMap.CharMap2 uses deprecated Data.IntMap.showTree:

Building library for regex-tdfa-1.3.1.0..
[ 1 of 25] Compiling Data.IntMap.CharMap2 ( lib/Data/IntMap/CharMap2.hs, dist/build/Data/IntMap/CharMap2.o )

lib/Data/IntMap/CharMap2.hs:258:24: warning: [-Wdeprecations]
    In the use of ‘showTree’
    (imported from Data.IntMap, but defined in containers-0.5.11.0:Data.IntMap.Internal.DeprecatedDebug):
    Deprecated: "These debugging functions will be removed from this module. They are available from Data.IntMap.Internal.Debug."
    |
258 | showTree (CharMap m) = MD.showTree m
    |                        ^^^^^^^^^^^
netbsd-srcmastr pushed a commit to NetBSD/pkgsrc that referenced this issue Aug 18, 2022
### 1.3.2

_2022-07-18, Andreas Abel_

- Export `decodePatternSet` and `decodeCharacterClass` from `Text.Regex.TDFA.Pattern`
  ([#16](haskell-hvr/regex-tdfa#16))
- Extend and correct docs for `Pattern` module
- Tested with GHC 7.4 - 9.4

### 1.3.1.5

_2022-07-18, Andreas Abel_

- Allow dash (`-`) as start of a range, e.g. `[--z]`
  ([#1](haskell-hvr/regex-tdfa#1),
  [#45](haskell-hvr/regex-tdfa#45))
- Tested with GHC 7.4 - 9.4

### 1.3.1.4

_2022-07-17, Andreas Abel_

- Fix parsing of dashes in bracket expressions, e.g. `[-a-z]` ([#1](haskell-hvr/regex-tdfa#1))
- Fix a deprecation warning except for on GHC 8.2 ([#21](haskell-hvr/regex-tdfa#21))
- Documentation: link `defaultComptOpt` to its definition  ([#13](haskell-hvr/regex-tdfa#13))
- Verify documentation examples with new `doc-test` testsuite
- Tested with GHC 7.4 - 9.4

### 1.3.1.3

_2022-07-14, Andreas Abel_

- Fix an `undefined` in `Show PatternSet` ([#37](haskell-hvr/regex-tdfa#37))
- Document POSIX character classes (e.g. `[[:digit:]]`) in README
- Tested with GHC 7.4 - 9.4

### 1.3.1.2 Revision 1

_2022-05-25, Andreas Abel_

- Allow `base >= 4.17` (GHC 9.4)

### 1.3.1.2

_2022-02-19, Andreas Abel_
- No longer rely on the `MonadFail` instance for `ST`
  (future `base` library change, see [#29](haskell-hvr/regex-tdfa#29)).
- Silence warning `incomplete-uni-patterns` (GHC >= 9.2).
- Import from `Data.List` explicitly or qualified (warning `compat-unqualified-imports`).
- Import from `Control.Monad` to allow `mtl-2.3` in its `rc3` incarnation.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant