From 57c865d62537dc473fe2d8dc5e4507d96a1c80e6 Mon Sep 17 00:00:00 2001 From: Dmitrii Kovanikov Date: Mon, 4 Feb 2019 13:56:17 +0800 Subject: [PATCH] Improve travis and docs (#137) * Improve travis and docs * Update stack.yaml --- .travis.yml | 76 +++++++------------------------- CHANGELOG.md | 2 + benchmark/Main.hs | 9 ++-- relude.cabal | 8 ++-- src/Relude.hs | 6 +-- src/Relude/Applicative.hs | 6 +-- src/Relude/Base.hs | 6 +-- src/Relude/Bool.hs | 6 +-- src/Relude/Bool/Guard.hs | 8 ++-- src/Relude/Bool/Reexport.hs | 6 +-- src/Relude/Container.hs | 6 +-- src/Relude/Container/One.hs | 2 +- src/Relude/Container/Reexport.hs | 6 +-- src/Relude/Debug.hs | 6 +-- src/Relude/DeepSeq.hs | 6 +-- src/Relude/Exception.hs | 6 +-- src/Relude/Extra/Bifunctor.hs | 2 +- src/Relude/Extra/CallStack.hs | 2 +- src/Relude/Extra/Enum.hs | 2 +- src/Relude/Extra/Foldable1.hs | 4 +- src/Relude/Extra/Group.hs | 2 +- src/Relude/Extra/Map.hs | 2 +- src/Relude/Extra/Newtype.hs | 2 +- src/Relude/Extra/Tuple.hs | 2 +- src/Relude/Extra/Type.hs | 2 +- src/Relude/Extra/Validation.hs | 6 +-- src/Relude/File.hs | 2 +- src/Relude/Foldable.hs | 2 +- src/Relude/Foldable/Fold.hs | 6 +-- src/Relude/Foldable/Reexport.hs | 9 ++-- src/Relude/Function.hs | 6 +-- src/Relude/Functor.hs | 2 +- src/Relude/Functor/Fmap.hs | 2 +- src/Relude/Functor/Reexport.hs | 2 +- src/Relude/Lifted.hs | 6 +-- src/Relude/Lifted/Concurrent.hs | 6 +-- src/Relude/Lifted/Exit.hs | 6 +-- src/Relude/Lifted/File.hs | 6 +-- src/Relude/Lifted/IORef.hs | 6 +-- src/Relude/Lifted/Terminal.hs | 2 +- src/Relude/List.hs | 6 +-- src/Relude/List/NonEmpty.hs | 6 +-- src/Relude/List/Reexport.hs | 6 +-- src/Relude/Monad.hs | 6 +-- src/Relude/Monad/Either.hs | 6 +-- src/Relude/Monad/Maybe.hs | 6 +-- src/Relude/Monad/Reexport.hs | 6 +-- src/Relude/Monad/Trans.hs | 6 +-- src/Relude/Monoid.hs | 6 +-- src/Relude/Nub.hs | 6 +-- src/Relude/Numeric.hs | 2 +- src/Relude/Print.hs | 6 +-- src/Relude/String.hs | 6 +-- src/Relude/String/Conversion.hs | 6 +-- src/Relude/String/Reexport.hs | 6 +-- src/Relude/Unsafe.hs | 6 +-- stack.yaml | 5 ++- test/Doctest.hs | 9 ++-- test/Spec.hs | 9 ++-- test/Test/Relude/Property.hs | 9 ++-- 60 files changed, 172 insertions(+), 206 deletions(-) diff --git a/.travis.yml b/.travis.yml index c584f18..8b4cc82 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,92 +4,50 @@ language: haskell git: depth: 5 +cabal: "2.0" + cache: directories: - - "$HOME/.cabal" - - "$HOME/.ghc" + - "$HOME/.cabal/store" - "$HOME/.stack" - "$TRAVIS_BUILD_DIR/.stack-work" matrix: include: + # Cabal - ghc: 8.0.2 - env: GHCVER='8.0.2' CABALVER='head' - os: linux - addons: - apt: - sources: - - hvr-ghc - packages: - - ghc-8.0.2 - - cabal-install-head - - ghc: 8.2.2 - env: GHCVER='8.2.2' CABALVER='head' - os: linux - addons: - apt: - sources: - - hvr-ghc - packages: - - ghc-8.2.2 - - cabal-install-head + - ghc: 8.4.4 + - ghc: 8.6.3 - - ghc: 8.4.3 - env: GHCVER='8.4.3' CABALVER='head' - os: linux - addons: - apt: - sources: - - hvr-ghc - packages: - - ghc-8.4.3 - - cabal-install-head - - - ghc: 8.6.1 - env: GHCVER='8.6.1' CABALVER='head' - os: linux - addons: - apt: - sources: - - hvr-ghc - packages: - - ghc-8.6.1 - - cabal-install-head - - - ghc: 8.4.3 + # stack + - ghc: 8.6.3 env: STACK_YAML="$TRAVIS_BUILD_DIR/stack.yaml" - os: linux - addons: - apt: - packages: - - libgmp-dev install: - | if [ -z "$STACK_YAML" ]; then - export PATH="/opt/ghc/$GHCVER/bin:/opt/cabal/$CABALVER/bin:$PATH" - echo $PATH + ghc --version + cabal --version cabal new-update cabal new-build --enable-tests --enable-benchmarks else - echo "$TRAVIS_BUILD_DIR" - mkdir -p ~/.local/bin - export PATH="$HOME/.local/bin:$PATH" - travis_retry curl -L 'https://www.stackage.org/stack/linux-x86_64' | tar xz --wildcards --strip-components=1 -C ~/.local/bin '*/stack' + # install stack + curl -sSL https://get.haskellstack.org/ | sh + + # build project with stack stack --version - stack setup --no-terminal - stack ghc -- --version - stack build --only-dependencies --no-terminal + stack build --system-ghc --test --bench --no-run-tests --no-run-benchmarks fi + script: - | if [ -z "$STACK_YAML" ]; then cabal new-test cabal new-haddock else - stack build --test --bench --no-run-tests --no-run-benchmarks --no-terminal + stack test --system-ghc fi notifications: diff --git a/CHANGELOG.md b/CHANGELOG.md index db03312..90c0532 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,6 +12,8 @@ The change log is available [on GitHub][2]. * [#129](https://github.com/kowainik/relude/issues/129): Add `appliedTo` and `chainedTo` as named versions of operators `=<<` and `<**>`. * Improve documentation for `One` typeclass and add tests. +* Support ghc-8.6.3 and ghc-8.4.4. + Drop support for ghc-8.6.1 and ghc-8.4.3. ## 0.4.0 — Nov 6, 2018 diff --git a/benchmark/Main.hs b/benchmark/Main.hs index 665b88d..b6603aa 100644 --- a/benchmark/Main.hs +++ b/benchmark/Main.hs @@ -1,8 +1,9 @@ {- -Copyright: (c) 2016 Stephen Diehl - (c) 20016-2018 Serokell - (c) 2018 Kowainik -License: MIT +Copyright: (c) 2016 Stephen Diehl + (c) 2016-2018 Serokell + (c) 2018-2019 Kowainik +License: MIT +Maintainer: Kowainik -} module Main where diff --git a/relude.cabal b/relude.cabal index 6e8e94a..e6acfa4 100644 --- a/relude.cabal +++ b/relude.cabal @@ -48,16 +48,16 @@ homepage: https://github.com/kowainik/relude bug-reports: https://github.com/kowainik/relude/issues license: MIT license-file: LICENSE -author: Stephen Diehl, @serokell, Kowainik +author: Kowainik, Stephen Diehl, Serokell maintainer: Kowainik -copyright: 2016 Stephen Diehl, 2016-2018 Serokell, 2018 Kowainik +copyright: 2016 Stephen Diehl, 2016-2018 Serokell, 2018-2019 Kowainik category: Prelude stability: stable build-type: Simple tested-with: GHC == 8.0.2 , GHC == 8.2.2 - , GHC == 8.4.3 - , GHC == 8.6.1 + , GHC == 8.4.4 + , GHC == 8.6.3 extra-doc-files: CHANGELOG.md , CONTRIBUTING.md , README.md diff --git a/src/Relude.hs b/src/Relude.hs index 238c2d8..8e21960 100644 --- a/src/Relude.hs +++ b/src/Relude.hs @@ -1,9 +1,9 @@ {-# LANGUAGE Trustworthy #-} {- | -Copyright: (c) 2016 Stephen Diehl - (c) 20016-2018 Serokell - (c) 2018 Kowainik +Copyright: (c) 2016 Stephen Diehl + (c) 2016-2018 Serokell + (c) 2018-2019 Kowainik License: MIT Maintainer: Kowainik diff --git a/src/Relude/Applicative.hs b/src/Relude/Applicative.hs index 6c0c8da..c31164a 100644 --- a/src/Relude/Applicative.hs +++ b/src/Relude/Applicative.hs @@ -1,9 +1,9 @@ {-# LANGUAGE Safe #-} {- | -Copyright: (c) 2016 Stephen Diehl - (c) 20016-2018 Serokell - (c) 2018 Kowainik +Copyright: (c) 2016 Stephen Diehl + (c) 2016-2018 Serokell + (c) 2018-2019 Kowainik License: MIT Maintainer: Kowainik diff --git a/src/Relude/Base.hs b/src/Relude/Base.hs index 16b19fc..2f7472c 100644 --- a/src/Relude/Base.hs +++ b/src/Relude/Base.hs @@ -2,9 +2,9 @@ {-# LANGUAGE Unsafe #-} {- | -Copyright: (c) 2016 Stephen Diehl - (c) 20016-2018 Serokell - (c) 2018 Kowainik +Copyright: (c) 2016 Stephen Diehl + (c) 2016-2018 Serokell + (c) 2018-2019 Kowainik License: MIT Maintainer: Kowainik diff --git a/src/Relude/Bool.hs b/src/Relude/Bool.hs index 6ddbb41..594da20 100644 --- a/src/Relude/Bool.hs +++ b/src/Relude/Bool.hs @@ -1,9 +1,9 @@ {-# LANGUAGE Safe #-} {- | -Copyright: (c) 2016 Stephen Diehl - (c) 20016-2018 Serokell - (c) 2018 Kowainik +Copyright: (c) 2016 Stephen Diehl + (c) 2016-2018 Serokell + (c) 2018-2019 Kowainik License: MIT Maintainer: Kowainik diff --git a/src/Relude/Bool/Guard.hs b/src/Relude/Bool/Guard.hs index 833add1..cec6629 100644 --- a/src/Relude/Bool/Guard.hs +++ b/src/Relude/Bool/Guard.hs @@ -1,7 +1,7 @@ {- | -Copyright: (c) 2016 Stephen Diehl - (c) 20016-2018 Serokell - (c) 2018 Kowainik +Copyright: (c) 2016 Stephen Diehl + (c) 2016-2018 Serokell + (c) 2018-2019 Kowainik License: MIT Maintainer: Kowainik @@ -19,7 +19,7 @@ module Relude.Bool.Guard import Relude.Bool.Reexport (Bool (..), guard, unless, when) import Relude.Function (flip) -import Relude.Monad (Monad, return, MonadPlus, (>>=)) +import Relude.Monad (Monad, MonadPlus, return, (>>=)) -- $setup -- >>> import Relude.Applicative (pure) diff --git a/src/Relude/Bool/Reexport.hs b/src/Relude/Bool/Reexport.hs index 0201855..8cff59d 100644 --- a/src/Relude/Bool/Reexport.hs +++ b/src/Relude/Bool/Reexport.hs @@ -1,7 +1,7 @@ {- | -Copyright: (c) 2016 Stephen Diehl - (c) 20016-2018 Serokell - (c) 2018 Kowainik +Copyright: (c) 2016 Stephen Diehl + (c) 2016-2018 Serokell + (c) 2018-2019 Kowainik License: MIT Maintainer: Kowainik diff --git a/src/Relude/Container.hs b/src/Relude/Container.hs index acb4436..71025f8 100644 --- a/src/Relude/Container.hs +++ b/src/Relude/Container.hs @@ -1,7 +1,7 @@ {- | -Copyright: (c) 2016 Stephen Diehl - (c) 20016-2018 Serokell - (c) 2018 Kowainik +Copyright: (c) 2016 Stephen Diehl + (c) 2016-2018 Serokell + (c) 2018-2019 Kowainik License: MIT Maintainer: Kowainik diff --git a/src/Relude/Container/One.hs b/src/Relude/Container/One.hs index 3379027..a5d42f9 100644 --- a/src/Relude/Container/One.hs +++ b/src/Relude/Container/One.hs @@ -5,7 +5,7 @@ {- | Copyright: (c) 2016 Stephen Diehl (c) 2016-2018 Serokell - (c) 2018-present Kowainik + (c) 2018-2019 Kowainik License: MIT Maintainer: Kowainik diff --git a/src/Relude/Container/Reexport.hs b/src/Relude/Container/Reexport.hs index de3ad55..d011657 100644 --- a/src/Relude/Container/Reexport.hs +++ b/src/Relude/Container/Reexport.hs @@ -1,7 +1,7 @@ {- | -Copyright: (c) 2016 Stephen Diehl - (c) 20016-2018 Serokell - (c) 2018 Kowainik +Copyright: (c) 2016 Stephen Diehl + (c) 2016-2018 Serokell + (c) 2018-2019 Kowainik License: MIT Maintainer: Kowainik diff --git a/src/Relude/Debug.hs b/src/Relude/Debug.hs index 704f1eb..c9a2444 100644 --- a/src/Relude/Debug.hs +++ b/src/Relude/Debug.hs @@ -11,9 +11,9 @@ #endif {- | -Copyright: (c) 2016 Stephen Diehl - (c) 20016-2018 Serokell - (c) 2018 Kowainik +Copyright: (c) 2016 Stephen Diehl + (c) 2016-2018 Serokell + (c) 2018-2019 Kowainik License: MIT Maintainer: Kowainik diff --git a/src/Relude/DeepSeq.hs b/src/Relude/DeepSeq.hs index 3afcfaa..7b639dc 100644 --- a/src/Relude/DeepSeq.hs +++ b/src/Relude/DeepSeq.hs @@ -1,7 +1,7 @@ {- | -Copyright: (c) 2016 Stephen Diehl - (c) 20016-2018 Serokell - (c) 2018 Kowainik +Copyright: (c) 2016 Stephen Diehl + (c) 2016-2018 Serokell + (c) 2018-2019 Kowainik License: MIT Maintainer: Kowainik diff --git a/src/Relude/Exception.hs b/src/Relude/Exception.hs index 2a09404..92d5ca2 100644 --- a/src/Relude/Exception.hs +++ b/src/Relude/Exception.hs @@ -4,9 +4,9 @@ {-# LANGUAGE ViewPatterns #-} {- | -Copyright: (c) 2016 Stephen Diehl - (c) 20016-2018 Serokell - (c) 2018 Kowainik +Copyright: (c) 2016 Stephen Diehl + (c) 2016-2018 Serokell + (c) 2018-2019 Kowainik License: MIT Maintainer: Kowainik diff --git a/src/Relude/Extra/Bifunctor.hs b/src/Relude/Extra/Bifunctor.hs index 6e74d65..462b22f 100644 --- a/src/Relude/Extra/Bifunctor.hs +++ b/src/Relude/Extra/Bifunctor.hs @@ -1,5 +1,5 @@ {- | -Copyright: (c) 2018 Kowainik +Copyright: (c) 2018-2019 Kowainik License: MIT Maintainer: Kowainik diff --git a/src/Relude/Extra/CallStack.hs b/src/Relude/Extra/CallStack.hs index 67b5ea9..6beb93a 100644 --- a/src/Relude/Extra/CallStack.hs +++ b/src/Relude/Extra/CallStack.hs @@ -1,5 +1,5 @@ {- | -Copyright: (c) 2018 Kowainik +Copyright: (c) 2018-2019 Kowainik License: MIT Maintainer: Kowainik diff --git a/src/Relude/Extra/Enum.hs b/src/Relude/Extra/Enum.hs index 4b94fba..a1299b2 100644 --- a/src/Relude/Extra/Enum.hs +++ b/src/Relude/Extra/Enum.hs @@ -2,7 +2,7 @@ {-# LANGUAGE TypeApplications #-} {- | -Copyright: (c) 2018 Kowainik +Copyright: (c) 2018-2019 Kowainik License: MIT Maintainer: Kowainik diff --git a/src/Relude/Extra/Foldable1.hs b/src/Relude/Extra/Foldable1.hs index 52c7b61..aaaf394 100644 --- a/src/Relude/Extra/Foldable1.hs +++ b/src/Relude/Extra/Foldable1.hs @@ -2,8 +2,8 @@ {-# LANGUAGE TypeApplications #-} {- | -Copyright: (c) 2011-2015 Edward Kmett - (c) 2018 Kowainik +Copyright: (c) 2011-2015 Edward Kmett + (c) 2018-2019 Kowainik License: MIT Maintainer: Kowainik -} diff --git a/src/Relude/Extra/Group.hs b/src/Relude/Extra/Group.hs index 8709cb3..f47cf58 100644 --- a/src/Relude/Extra/Group.hs +++ b/src/Relude/Extra/Group.hs @@ -2,7 +2,7 @@ {-# LANGUAGE TypeFamilies #-} {- | -Copyright: (c) 2018 Kowainik +Copyright: (c) 2018-2019 Kowainik License: MIT Maintainer: Kowainik diff --git a/src/Relude/Extra/Map.hs b/src/Relude/Extra/Map.hs index ec534f7..f227ba2 100644 --- a/src/Relude/Extra/Map.hs +++ b/src/Relude/Extra/Map.hs @@ -1,7 +1,7 @@ {-# LANGUAGE TypeFamilies #-} {- | -Copyright: (c) 2018 Kowainik +Copyright: (c) 2018-2019 Kowainik License: MIT Maintainer: Kowainik diff --git a/src/Relude/Extra/Newtype.hs b/src/Relude/Extra/Newtype.hs index 932f96b..a39c3d3 100644 --- a/src/Relude/Extra/Newtype.hs +++ b/src/Relude/Extra/Newtype.hs @@ -2,7 +2,7 @@ {-# LANGUAGE ScopedTypeVariables #-} {- | -Copyright: (c) 2018 Kowainik +Copyright: (c) 2018-2019 Kowainik License: MIT Maintainer: Kowainik diff --git a/src/Relude/Extra/Tuple.hs b/src/Relude/Extra/Tuple.hs index d9ae1fa..968e857 100644 --- a/src/Relude/Extra/Tuple.hs +++ b/src/Relude/Extra/Tuple.hs @@ -1,5 +1,5 @@ {- | -Copyright: (c) 2018 Kowainik +Copyright: (c) 2018-2019 Kowainik License: MIT Maintainer: Kowainik diff --git a/src/Relude/Extra/Type.hs b/src/Relude/Extra/Type.hs index eb0c4f0..ede3078 100644 --- a/src/Relude/Extra/Type.hs +++ b/src/Relude/Extra/Type.hs @@ -4,7 +4,7 @@ {-# LANGUAGE TypeApplications #-} {- | -Copyright: (c) 2018 Kowainik +Copyright: (c) 2018-2019 Kowainik License: MIT Maintainer: Kowainik diff --git a/src/Relude/Extra/Validation.hs b/src/Relude/Extra/Validation.hs index c7b3c8b..c0b24a4 100644 --- a/src/Relude/Extra/Validation.hs +++ b/src/Relude/Extra/Validation.hs @@ -3,9 +3,9 @@ {-# LANGUAGE LambdaCase #-} {- | -Copyright: (c) 2014 Chris Allen, Edward Kmett - (c) 2018 Kowainik -License: MIT +Copyright: (c) 2014 Chris Allen, Edward Kmett + (c) 2018-2019 Kowainik +License: MIT Maintainer: Kowainik Monoidal 'Validation' sibling to 'Either'. diff --git a/src/Relude/File.hs b/src/Relude/File.hs index 03dd3cf..6be0663 100644 --- a/src/Relude/File.hs +++ b/src/Relude/File.hs @@ -1,5 +1,5 @@ {- | -Copyright: (c) 2018 Kowainik +Copyright: (c) 2018-2019 Kowainik License: MIT Maintainer: Kowainik diff --git a/src/Relude/Foldable.hs b/src/Relude/Foldable.hs index c0099ab..689a7f3 100644 --- a/src/Relude/Foldable.hs +++ b/src/Relude/Foldable.hs @@ -1,5 +1,5 @@ {- | -Copyright: (c) 2018 Kowainik +Copyright: (c) 2018-2019 Kowainik License: MIT Maintainer: Kowainik diff --git a/src/Relude/Foldable/Fold.hs b/src/Relude/Foldable/Fold.hs index 098e57a..1303a8d 100644 --- a/src/Relude/Foldable/Fold.hs +++ b/src/Relude/Foldable/Fold.hs @@ -8,9 +8,9 @@ {-# OPTIONS_GHC -fno-warn-unticked-promoted-constructors #-} {- | -Copyright: (c) 2016 Stephen Diehl - (c) 20016-2018 Serokell - (c) 2018 Kowainik +Copyright: (c) 2016 Stephen Diehl + (c) 2016-2018 Serokell + (c) 2018-2019 Kowainik License: MIT Maintainer: Kowainik diff --git a/src/Relude/Foldable/Reexport.hs b/src/Relude/Foldable/Reexport.hs index 8919973..86ad9d8 100644 --- a/src/Relude/Foldable/Reexport.hs +++ b/src/Relude/Foldable/Reexport.hs @@ -1,7 +1,7 @@ {-# LANGUAGE CPP #-} {- | -Copyright: (c) 2018 Kowainik +Copyright: (c) 2018-2019 Kowainik License: MIT Maintainer: Kowainik @@ -22,9 +22,8 @@ import Data.Foldable (Foldable (fold, foldMap, foldl', foldr, length, null, toLi sequence_, traverse_) import Data.Traversable (Traversable (..), forM, mapAccumL, mapAccumR) #if MIN_VERSION_base(4,10,0) -import Data.Bifoldable (Bifoldable (..), biList, biall, biand, - biany, biasum, bielem, bifind, bifoldl', bifoldlM, bifoldr', - bifoldrM, bifor_, bilength, binull, bior, bisequence_, - bitraverse_) +import Data.Bifoldable (Bifoldable (..), biList, biall, biand, biany, biasum, bielem, bifind, + bifoldl', bifoldlM, bifoldr', bifoldrM, bifor_, bilength, binull, bior, + bisequence_, bitraverse_) import Data.Bitraversable (Bitraversable (..), bifoldMapDefault, bifor, bimapDefault, bisequence) #endif diff --git a/src/Relude/Function.hs b/src/Relude/Function.hs index 713cc6c..1904d52 100644 --- a/src/Relude/Function.hs +++ b/src/Relude/Function.hs @@ -1,7 +1,7 @@ {- | -Copyright: (c) 2016 Stephen Diehl - (c) 20016-2018 Serokell - (c) 2018 Kowainik +Copyright: (c) 2016 Stephen Diehl + (c) 2016-2018 Serokell + (c) 2018-2019 Kowainik License: MIT Maintainer: Kowainik diff --git a/src/Relude/Functor.hs b/src/Relude/Functor.hs index ded8896..ba376b0 100644 --- a/src/Relude/Functor.hs +++ b/src/Relude/Functor.hs @@ -2,7 +2,7 @@ {- | Copyright: (c) 2016 Stephen Diehl - (c) 20016-2018 Serokell + (c) 2016-2018 Serokell (c) 2018 Kowainik License: MIT Maintainer: Kowainik diff --git a/src/Relude/Functor/Fmap.hs b/src/Relude/Functor/Fmap.hs index e677661..7889feb 100644 --- a/src/Relude/Functor/Fmap.hs +++ b/src/Relude/Functor/Fmap.hs @@ -3,7 +3,7 @@ {- | Copyright: (c) 2016 Stephen Diehl - (c) 20016-2018 Serokell + (c) 2016-2018 Serokell (c) 2018 Kowainik License: MIT Maintainer: Kowainik diff --git a/src/Relude/Functor/Reexport.hs b/src/Relude/Functor/Reexport.hs index de08810..eded973 100644 --- a/src/Relude/Functor/Reexport.hs +++ b/src/Relude/Functor/Reexport.hs @@ -3,7 +3,7 @@ {- | Copyright: (c) 2016 Stephen Diehl - (c) 20016-2018 Serokell + (c) 2016-2018 Serokell (c) 2018 Kowainik License: MIT Maintainer: Kowainik diff --git a/src/Relude/Lifted.hs b/src/Relude/Lifted.hs index cfd9b12..b47403c 100644 --- a/src/Relude/Lifted.hs +++ b/src/Relude/Lifted.hs @@ -1,7 +1,7 @@ {- | -Copyright: (c) 2016 Stephen Diehl - (c) 20016-2018 Serokell - (c) 2018 Kowainik +Copyright: (c) 2016 Stephen Diehl + (c) 2016-2018 Serokell + (c) 2018-2019 Kowainik License: MIT Maintainer: Kowainik diff --git a/src/Relude/Lifted/Concurrent.hs b/src/Relude/Lifted/Concurrent.hs index 95880fd..40a7c55 100644 --- a/src/Relude/Lifted/Concurrent.hs +++ b/src/Relude/Lifted/Concurrent.hs @@ -1,9 +1,9 @@ {-# LANGUAGE Safe #-} {- | -Copyright: (c) 2016 Stephen Diehl - (c) 20016-2018 Serokell - (c) 2018 Kowainik +Copyright: (c) 2016 Stephen Diehl + (c) 2016-2018 Serokell + (c) 2018-2019 Kowainik License: MIT Maintainer: Kowainik diff --git a/src/Relude/Lifted/Exit.hs b/src/Relude/Lifted/Exit.hs index a8cd533..ac9bf38 100644 --- a/src/Relude/Lifted/Exit.hs +++ b/src/Relude/Lifted/Exit.hs @@ -1,9 +1,9 @@ {-# LANGUAGE Safe #-} {- | -Copyright: (c) 2016 Stephen Diehl - (c) 20016-2018 Serokell - (c) 2018 Kowainik +Copyright: (c) 2016 Stephen Diehl + (c) 2016-2018 Serokell + (c) 2018-2019 Kowainik License: MIT Maintainer: Kowainik diff --git a/src/Relude/Lifted/File.hs b/src/Relude/Lifted/File.hs index f5b3942..b55b7a4 100644 --- a/src/Relude/Lifted/File.hs +++ b/src/Relude/Lifted/File.hs @@ -1,7 +1,7 @@ {- | -Copyright: (c) 2016 Stephen Diehl - (c) 20016-2018 Serokell - (c) 2018 Kowainik +Copyright: (c) 2016 Stephen Diehl + (c) 2016-2018 Serokell + (c) 2018-2019 Kowainik License: MIT Maintainer: Kowainik diff --git a/src/Relude/Lifted/IORef.hs b/src/Relude/Lifted/IORef.hs index be0d6bb..305b975 100644 --- a/src/Relude/Lifted/IORef.hs +++ b/src/Relude/Lifted/IORef.hs @@ -1,9 +1,9 @@ {-# LANGUAGE Safe #-} {- | -Copyright: (c) 2016 Stephen Diehl - (c) 20016-2018 Serokell - (c) 2018 Kowainik +Copyright: (c) 2016 Stephen Diehl + (c) 2016-2018 Serokell + (c) 2018-2019 Kowainik License: MIT Maintainer: Kowainik diff --git a/src/Relude/Lifted/Terminal.hs b/src/Relude/Lifted/Terminal.hs index 832d09a..811b978 100644 --- a/src/Relude/Lifted/Terminal.hs +++ b/src/Relude/Lifted/Terminal.hs @@ -1,7 +1,7 @@ {-# LANGUAGE ExplicitForAll #-} {- | -Copyright: (c) 2018 Kowainik +Copyright: (c) 2018-2019 Kowainik License: MIT Maintainer: Kowainik diff --git a/src/Relude/List.hs b/src/Relude/List.hs index 8e6f64b..0913827 100644 --- a/src/Relude/List.hs +++ b/src/Relude/List.hs @@ -1,9 +1,9 @@ {-# LANGUAGE Safe #-} {- | -Copyright: (c) 2016 Stephen Diehl - (c) 20016-2018 Serokell - (c) 2018 Kowainik +Copyright: (c) 2016 Stephen Diehl + (c) 2016-2018 Serokell + (c) 2018-2019 Kowainik License: MIT Maintainer: Kowainik diff --git a/src/Relude/List/NonEmpty.hs b/src/Relude/List/NonEmpty.hs index e331afb..91081cf 100644 --- a/src/Relude/List/NonEmpty.hs +++ b/src/Relude/List/NonEmpty.hs @@ -1,9 +1,9 @@ {-# LANGUAGE Safe #-} {- | -Copyright: (c) 2016 Stephen Diehl - (c) 20016-2018 Serokell - (c) 2018 Kowainik +Copyright: (c) 2016 Stephen Diehl + (c) 2016-2018 Serokell + (c) 2018-2019 Kowainik License: MIT Maintainer: Kowainik diff --git a/src/Relude/List/Reexport.hs b/src/Relude/List/Reexport.hs index 0041161..e6e7076 100644 --- a/src/Relude/List/Reexport.hs +++ b/src/Relude/List/Reexport.hs @@ -1,9 +1,9 @@ {-# LANGUAGE Trustworthy #-} {- | -Copyright: (c) 2016 Stephen Diehl - (c) 20016-2018 Serokell - (c) 2018 Kowainik +Copyright: (c) 2016 Stephen Diehl + (c) 2016-2018 Serokell + (c) 2018-2019 Kowainik License: MIT Maintainer: Kowainik diff --git a/src/Relude/Monad.hs b/src/Relude/Monad.hs index c3d0286..147a27a 100644 --- a/src/Relude/Monad.hs +++ b/src/Relude/Monad.hs @@ -1,9 +1,9 @@ {-# LANGUAGE Safe #-} {- | -Copyright: (c) 2016 Stephen Diehl - (c) 20016-2018 Serokell - (c) 2018 Kowainik +Copyright: (c) 2016 Stephen Diehl + (c) 2016-2018 Serokell + (c) 2018-2019 Kowainik License: MIT Maintainer: Kowainik diff --git a/src/Relude/Monad/Either.hs b/src/Relude/Monad/Either.hs index f8f0ac7..49fcb8a 100644 --- a/src/Relude/Monad/Either.hs +++ b/src/Relude/Monad/Either.hs @@ -4,9 +4,9 @@ {-# OPTIONS_GHC -fno-warn-orphans #-} {- | -Copyright: (c) 2016 Stephen Diehl - (c) 20016-2018 Serokell - (c) 2018 Kowainik +Copyright: (c) 2016 Stephen Diehl + (c) 2016-2018 Serokell + (c) 2018-2019 Kowainik License: MIT Maintainer: Kowainik diff --git a/src/Relude/Monad/Maybe.hs b/src/Relude/Monad/Maybe.hs index 5778abd..40318d4 100644 --- a/src/Relude/Monad/Maybe.hs +++ b/src/Relude/Monad/Maybe.hs @@ -1,9 +1,9 @@ {-# LANGUAGE Safe #-} {- | -Copyright: (c) 2016 Stephen Diehl - (c) 20016-2018 Serokell - (c) 2018 Kowainik +Copyright: (c) 2016 Stephen Diehl + (c) 2016-2018 Serokell + (c) 2018-2019 Kowainik License: MIT Maintainer: Kowainik diff --git a/src/Relude/Monad/Reexport.hs b/src/Relude/Monad/Reexport.hs index f56fe05..2492a2f 100644 --- a/src/Relude/Monad/Reexport.hs +++ b/src/Relude/Monad/Reexport.hs @@ -1,9 +1,9 @@ {-# LANGUAGE Safe #-} {- | -Copyright: (c) 2016 Stephen Diehl - (c) 20016-2018 Serokell - (c) 2018 Kowainik +Copyright: (c) 2016 Stephen Diehl + (c) 2016-2018 Serokell + (c) 2018-2019 Kowainik License: MIT Maintainer: Kowainik diff --git a/src/Relude/Monad/Trans.hs b/src/Relude/Monad/Trans.hs index e575d1d..fa30400 100644 --- a/src/Relude/Monad/Trans.hs +++ b/src/Relude/Monad/Trans.hs @@ -1,9 +1,9 @@ {-# LANGUAGE Safe #-} {- | -Copyright: (c) 2016 Stephen Diehl - (c) 20016-2018 Serokell - (c) 2018 Kowainik +Copyright: (c) 2016 Stephen Diehl + (c) 2016-2018 Serokell + (c) 2018-2019 Kowainik License: MIT Maintainer: Kowainik diff --git a/src/Relude/Monoid.hs b/src/Relude/Monoid.hs index b76f5d0..0351e55 100644 --- a/src/Relude/Monoid.hs +++ b/src/Relude/Monoid.hs @@ -1,7 +1,7 @@ {- | -Copyright: (c) 2016 Stephen Diehl - (c) 20016-2018 Serokell - (c) 2018 Kowainik +Copyright: (c) 2016 Stephen Diehl + (c) 2016-2018 Serokell + (c) 2018-2019 Kowainik License: MIT Maintainer: Kowainik diff --git a/src/Relude/Nub.hs b/src/Relude/Nub.hs index da04b30..22e1a3f 100644 --- a/src/Relude/Nub.hs +++ b/src/Relude/Nub.hs @@ -1,7 +1,7 @@ {- | -Copyright: (c) 2016 Stephen Diehl - (c) 20016-2018 Serokell - (c) 2018 Kowainik +Copyright: (c) 2016 Stephen Diehl + (c) 2016-2018 Serokell + (c) 2018-2019 Kowainik License: MIT Maintainer: Kowainik diff --git a/src/Relude/Numeric.hs b/src/Relude/Numeric.hs index 6e172a3..99f99eb 100644 --- a/src/Relude/Numeric.hs +++ b/src/Relude/Numeric.hs @@ -2,7 +2,7 @@ {-# LANGUAGE TypeApplications #-} {- | -Copyright: (c) 2018 Kowainik +Copyright: (c) 2018-2019 Kowainik License: MIT Maintainer: Kowainik -} diff --git a/src/Relude/Print.hs b/src/Relude/Print.hs index c035c1d..e2204d7 100644 --- a/src/Relude/Print.hs +++ b/src/Relude/Print.hs @@ -4,9 +4,9 @@ {-# LANGUAGE Trustworthy #-} {- | -Copyright: (c) 2016 Stephen Diehl - (c) 20016-2018 Serokell - (c) 2018 Kowainik +Copyright: (c) 2016 Stephen Diehl + (c) 2016-2018 Serokell + (c) 2018-2019 Kowainik License: MIT Maintainer: Kowainik diff --git a/src/Relude/String.hs b/src/Relude/String.hs index d812c33..39cf138 100644 --- a/src/Relude/String.hs +++ b/src/Relude/String.hs @@ -1,7 +1,7 @@ {- | -Copyright: (c) 2016 Stephen Diehl - (c) 20016-2018 Serokell - (c) 2018 Kowainik +Copyright: (c) 2016 Stephen Diehl + (c) 2016-2018 Serokell + (c) 2018-2019 Kowainik License: MIT Maintainer: Kowainik diff --git a/src/Relude/String/Conversion.hs b/src/Relude/String/Conversion.hs index 362ff71..3715211 100644 --- a/src/Relude/String/Conversion.hs +++ b/src/Relude/String/Conversion.hs @@ -6,9 +6,9 @@ {-# LANGUAGE TypeSynonymInstances #-} {- | -Copyright: (c) 2016 Stephen Diehl - (c) 20016-2018 Serokell - (c) 2018 Kowainik +Copyright: (c) 2016 Stephen Diehl + (c) 2016-2018 Serokell + (c) 2018-2019 Kowainik License: MIT Maintainer: Kowainik diff --git a/src/Relude/String/Reexport.hs b/src/Relude/String/Reexport.hs index 5001a9b..9eea904 100644 --- a/src/Relude/String/Reexport.hs +++ b/src/Relude/String/Reexport.hs @@ -1,7 +1,7 @@ {- | -Copyright: (c) 2016 Stephen Diehl - (c) 20016-2018 Serokell - (c) 2018 Kowainik +Copyright: (c) 2016 Stephen Diehl + (c) 2016-2018 Serokell + (c) 2018-2019 Kowainik License: MIT Maintainer: Kowainik diff --git a/src/Relude/Unsafe.hs b/src/Relude/Unsafe.hs index 0a99088..7c5d62f 100644 --- a/src/Relude/Unsafe.hs +++ b/src/Relude/Unsafe.hs @@ -1,9 +1,9 @@ {-# LANGUAGE Unsafe #-} {- | -Copyright: (c) 2016 Stephen Diehl - (c) 20016-2018 Serokell - (c) 2018 Kowainik +Copyright: (c) 2016 Stephen Diehl + (c) 2016-2018 Serokell + (c) 2018-2019 Kowainik License: MIT Maintainer: Kowainik diff --git a/stack.yaml b/stack.yaml index a0db067..3655cac 100644 --- a/stack.yaml +++ b/stack.yaml @@ -1,4 +1,7 @@ -resolver: lts-12.1 +resolver: lts-13.6 + +extra-deps: + - tasty-hedgehog-0.2.0.0 nix: packages: [binutils, gmp] diff --git a/test/Doctest.hs b/test/Doctest.hs index c4465bd..3de130c 100644 --- a/test/Doctest.hs +++ b/test/Doctest.hs @@ -1,8 +1,9 @@ {- -Copyright: (c) 2016 Stephen Diehl - (c) 20016-2018 Serokell - (c) 2018 Kowainik -License: MIT +Copyright: (c) 2016 Stephen Diehl + (c) 2016-2018 Serokell + (c) 2018-2019 Kowainik +License: MIT +Maintainer: Kowainik -} module Main (main) where diff --git a/test/Spec.hs b/test/Spec.hs index 1fe44be..3f6d994 100644 --- a/test/Spec.hs +++ b/test/Spec.hs @@ -1,8 +1,9 @@ {- -Copyright: (c) 2016 Stephen Diehl - (c) 20016-2018 Serokell - (c) 2018 Kowainik -License: MIT +Copyright: (c) 2016 Stephen Diehl + (c) 2016-2018 Serokell + (c) 2018-2019 Kowainik +License: MIT +Maintainer: Kowainik -} module Main where diff --git a/test/Test/Relude/Property.hs b/test/Test/Relude/Property.hs index d34bea4..b7d35f7 100644 --- a/test/Test/Relude/Property.hs +++ b/test/Test/Relude/Property.hs @@ -1,8 +1,9 @@ {- -Copyright: (c) 2016 Stephen Diehl - (c) 20016-2018 Serokell - (c) 2018 Kowainik -License: MIT +Copyright: (c) 2016 Stephen Diehl + (c) 2016-2018 Serokell + (c) 2018-2019 Kowainik +License: MIT +Maintainer: Kowainik -} module Test.Relude.Property