type-errors-pretty 0.0.1.0 → 0.0.1.1
raw patch · 4 files changed
+31/−12 lines, 4 filesdep ~basedep ~doctest
Dependency ranges changed: base, doctest
Files
- CHANGELOG.md +6/−2
- README.md +5/−1
- src/Type/Errors/Pretty.hs +4/−0
- type-errors-pretty.cabal +16/−9
CHANGELOG.md view
@@ -3,11 +3,15 @@ `type-errors-pretty` uses [PVP Versioning][1]. The changelog is available [on GitHub][2]. +## 0.0.1.1 — Apr 18, 2020++* [#10](https://github.com/chshersh/type-errors-pretty/issues/10):+ Support GHC-8.10.+ ## 0.0.1.0 — Oct 15, 2019 -* [#216](https://github.com/chshersh/type-errors-pretty/pull/5):+* [#5](https://github.com/chshersh/type-errors-pretty/pull/5): Support GHC-8.8.- (by [@chshersh](https://github.com/chshersh)) ## 0.0.0.0 — Jul 15, 2019
README.md view
@@ -1,11 +1,15 @@ # type-errors-pretty -[](https://travis-ci.org/chshersh/type-errors-pretty)++[](https://github.com/chshersh/type-errors-pretty/actions)+[](https://travis-ci.com/chshersh/type-errors-pretty)+[](https://ci.appveyor.com/project/chshersh/type-errors-pretty) [](https://hackage.haskell.org/package/type-errors-pretty) [](http://stackage.org/lts/package/type-errors-pretty) [](http://stackage.org/nightly/package/type-errors-pretty) [](LICENSE)+ > "It is important that we forgive ourselves for making mistakes. We need to learn > from our errors and move on."
src/Type/Errors/Pretty.hs view
@@ -4,6 +4,10 @@ {-# LANGUAGE UnicodeSyntax #-} {- |+Copyright: (c) 2019-2020 Dmitrii Kovanikov+SPDX-License-Identifier: MPL-2.0+Maintainer: Dmitrii Kovanikov <kovanikov@gmail.com>+ This module provides type-level functions and operators to make the job of writing text of custom type errors easier. The motivation behind using custom type errors is described in detail in the following blog post:
type-errors-pretty.cabal view
@@ -1,6 +1,6 @@ cabal-version: 2.4 name: type-errors-pretty-version: 0.0.1.0+version: 0.0.1.1 synopsis: Combinators for writing pretty type errors easily description: This library provides replacements for the @ErrorMessage@ constructors to@@ -11,7 +11,7 @@ license-file: LICENSE author: Dmitrii Kovanikov maintainer: Dmitrii Kovanikov <kovanikov@gmail.com>-copyright: 2019 Dmitrii Kovanikov+copyright: 2019-2020 Dmitrii Kovanikov category: Types, Type Errors build-type: Simple extra-doc-files: README.md@@ -19,24 +19,31 @@ tested-with: GHC == 8.2.2 GHC == 8.4.4 GHC == 8.6.5- GHC == 8.8.1+ GHC == 8.8.3+ GHC == 8.10.1 source-repository head type: git location: https://github.com/chshersh/type-errors-pretty.git common common-options- build-depends: base >= 4.10.1.0 && < 4.14+ build-depends: base >= 4.10.1.0 && < 4.15+ ghc-options: -Wall- -Wincomplete-uni-patterns- -Wincomplete-record-updates -Wcompat -Widentities+ -Wincomplete-uni-patterns+ -Wincomplete-record-updates -Wredundant-constraints- -fhide-source-paths- if impl(ghc >= 8.8.1)+ if impl(ghc >= 8.2)+ ghc-options: -fhide-source-paths+ if impl(ghc >= 8.4)+ ghc-options: -Wmissing-export-lists+ -Wpartial-fields+ if impl(ghc >= 8.8) ghc-options: -Wmissing-deriving-strategies- -Werror=missing-deriving-strategies+ if impl(ghc >= 8.10)+ ghc-options: -Wunused-packages default-language: Haskell2010 default-extensions: ConstraintKinds