0.3 Release (#115)

* Add total ConvertText alternative to Conv

* Explain ConvertText's meaning

* Rename convertText to toS for compatibility

* 0.3.0 Refactor (#111)

* Begin work on 0.3 refactor

* Remove old docs folder

* Fix dodgy exports

* 4.8 constraint for null and length

* Guards for Semigroup export for base<4.9

* Fix Data.Bits exports

* Guards for typeable exports

* Remove unused pragmas

* Update hlint.yaml

* Use liftM because of pre-AMP quirkk

* Data.Char exports

* Rework Exception exports

* Fix bounds

* Adding Monad.Fail shim

* Fix displayException export

* Explicit GHC.Prim import for ancient ghc

* Explicit raise# for base-4.7

* Flush legacy testing infrastructure

* Update git location

* Update README

* Add Partial module

* Add concurrency exports

* Explicit GHC.Float exports

* Bounds for threadWaitReadSTM, threadWaitWriteSTM, forkOSWithUnmask

* Fix for weird undocumented underflowError weirdness

* forkOSWithUnask for base>4.8

* Fix GHC.Real exports pre base-4.7

* Fix withMVarMasked for base-4.7

* Update nix derivation

* Update derivation

* Update derivation

* Explicit functor exports

* <$ export

* Overwrite binary

* Fix some missing exports

* Update Changelog

* Minor export fixes base<4.9

* Explicit exports

* Export handler

* Generate export lists for multiple versions (#114)

* Generate export lists for #112

* Make export lists format OccName uniformly

* Make compile on ancient GHC

* Use Foldable.concat

* Hacks to make ghc-7.6 API happy

* liftIO shim

* Fix sortOn warning

* Update ChangeLog

* Update base bounds

* Export conventions

* Update Haddocks

* Document GHC magic
This commit is contained in:
Stephen Diehl
2020-01-24 11:06:09 +00:00
committed by GitHub
parent 03f73d8cde
commit 2666f1e830
93 changed files with 8668 additions and 2839 deletions
+40 -12
View File
@@ -1,5 +1,5 @@
name: protolude
version: 0.2.4
version: 0.3.0
synopsis: A small prelude.
description: A sensible set of defaults for writing custom Preludes.
homepage: https://github.com/sdiehl/protolude
@@ -7,7 +7,7 @@ license: MIT
license-file: LICENSE
author: Stephen Diehl
maintainer: stephen.m.diehl@gmail.com
copyright: 2016-2019 Stephen Diehl
copyright: 2016-2020 Stephen Diehl
category: Prelude
build-type: Simple
cabal-version: >=1.10
@@ -28,33 +28,41 @@ tested-with:
GHC == 8.4.1,
GHC == 8.6.1,
GHC == 8.8.1
extra-source-files: README.md CHANGES.md
GHC == 8.10.1
extra-source-files: README.md ChangeLog.md
flag dev
description: Build development tools
manual: True
default: False
Source-Repository head
type: git
location: git@github.com:sdiehl/protolude.git
location: git@github.com:protolude/protolude.git
library
exposed-modules:
Protolude
Unsafe
Debug
Protolude.Exceptions
Protolude.Base
Protolude.Applicative
Protolude.Bool
Protolude.List
Protolude.Monad
Protolude.Safe
Protolude.List
Protolude.Bool
Protolude.Show
Protolude.Conv
Protolude.ConvertText
Protolude.Either
Protolude.Functor
Protolude.Semiring
Protolude.Bifunctor
Protolude.CallStack
Protolude.Applicative
Protolude.Error
Protolude.Panic
Protolude.Safe
Protolude.CallStack
Protolude.Exceptions
Protolude.Partial
Protolude.Debug
Protolude.Unsafe
default-extensions:
NoImplicitPrelude
@@ -81,6 +89,26 @@ library
mtl >= 2.1 && <2.3,
mtl-compat >= 0.2 && <0.3,
transformers-compat >= 0.4 && <0.7
if !impl(ghc >= 8.0)
Build-Depends: fail >= 4.9 && <4.10
hs-source-dirs: src
default-language: Haskell2010
executable exports
main-is: Exports.hs
default-language: Haskell2010
if flag(dev)
buildable: True
else
buildable: False
build-depends:
protolude,
base >= 4.6 && <4.14,
ghc,
ghc-paths,
directory,
process,
transformers,
mtl,
filepath