packages feed

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 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  ![pretty-bug](https://user-images.githubusercontent.com/4276606/61183911-eda86300-a679-11e9-9b8e-34c129469075.png)-[![Build status](https://img.shields.io/travis/chshersh/type-errors-pretty.svg?logo=travis)](https://travis-ci.org/chshersh/type-errors-pretty)++[![GitHub CI](https://github.com/chshersh/type-errors-pretty/workflows/CI/badge.svg)](https://github.com/chshersh/type-errors-pretty/actions)+[![Build status](https://img.shields.io/travis/com/chshersh/type-errors-pretty/master?logo=travis)](https://travis-ci.com/chshersh/type-errors-pretty)+[![Windows build status](https://ci.appveyor.com/api/projects/status/github/chshersh/type-errors-pretty?branch=master&svg=true)](https://ci.appveyor.com/project/chshersh/type-errors-pretty) [![Hackage](https://img.shields.io/hackage/v/type-errors-pretty.svg?logo=haskell)](https://hackage.haskell.org/package/type-errors-pretty) [![Stackage Lts](http://stackage.org/package/type-errors-pretty/badge/lts)](http://stackage.org/lts/package/type-errors-pretty) [![Stackage Nightly](http://stackage.org/package/type-errors-pretty/badge/nightly)](http://stackage.org/nightly/package/type-errors-pretty) [![MPL-2.0 license](https://img.shields.io/badge/license-MPL--2.0-blue.svg)](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