Commit Graph
240 Commits
Author SHA1 Message Date
Stephen Diehl ced5fd366e Minor version bump 2018-10-02 10:30:43 +01:00
Andre Van Der MerweandStephen Diehl 8c88bc7d64 GHC 8.6.1 support (#95)
* GHC 8.6.1 support

 - Bounds changes for base, containers and stm
 - stack lts 12.* tests
 - works with stack 8.6.1 nightly
    stack build --resolver nightly --haddock --test --bench --no-run-benchmarks
 - works with cabal new-build

* GHCVER-8.6.1
2018-10-01 20:20:06 +01:00
Stephen DiehlandGitHub 5024f3fef9 Add support for GHC 8.6 (#94)
* Add support for GHC 8.6

* Fix STM version bounds on pragma
2018-10-01 17:35:27 +01:00
Stephen Diehl 1b1f82b749 Export groupBy, fixes #91 2018-08-03 13:14:31 +01:00
Tony DayandStephen Diehl f75c99bda8 Some fixes for ghc-8.6 (#93) 2018-07-29 08:04:03 +01:00
Stephen Diehl 7c0e45c844 Support LTS-11 family of resolvers for testing 2018-06-15 10:29:42 +01:00
David HewsonandStephen Diehl ace10b648c <&> docs fix (#88)
`@<&>@`  appears as `&` on the page, which seems wrong
2018-06-10 09:20:15 +01:00
Michael SnoymanandStephen Diehl 8a8eb8c728 Add extra-source-files (#87) 2018-05-28 11:21:12 +01:00
Stephen Diehl 3bd6f07f9b Remove error function from symbol list 2018-05-08 09:39:55 +01:00
Stephen Diehl d6a710e40e Expose fromLeft and fromRight 2018-04-16 14:42:53 +01:00
Stephen Diehl 675837c232 Fix Data.Functor export list 2018-03-26 13:05:57 +01:00
Stephen Diehl 243a309bc1 On Base 4.11 use the provided <&>, fixes #53 2018-03-26 11:33:46 +01:00
Stephen Diehl 60943c0596 Drop safe dependency 2018-03-26 11:18:42 +01:00
Stephen DiehlandGitHub a8d1363581 Rework Safe Module (#83)
* Initial fork on minimal safe submodule

* Add new Safe module

Signed-off-by: Stephen Diehl <stephen.m.diehl@gmail.com>

* Refactor Safe module
2018-03-22 13:31:29 +00:00
Tony DayandStephen Diehl 57912017fe Bump upper bound for base & ghc84 bumps (#82) 2018-03-19 10:11:35 +00:00
Stephen Diehl f542a361a4 Bump upper bound of protolude transformers-compat 2018-03-01 14:21:01 +00:00
venandStephen Diehl 70fca4ab9c Fix symbols.md rendering (#80) 2018-02-08 13:55:00 +00:00
Stephen Diehl 81dcc985fc Bump minor version 2018-02-05 14:52:51 +00:00
Stephen Diehl 9a61a70a19 Looser lower-bound on Data.Kind export for GHC 8.0.x for #79 2018-02-05 14:33:12 +00:00
Stephen Diehl 8c9d0f4666 Bump upper bound for async 2.2.1 2018-02-05 10:20:40 +00:00
Stephen Diehl fd7fc5fb8e Update changelog 2018-01-12 11:11:09 +00:00
Stephen Diehl 65a0518008 Update changelog 2018-01-08 17:05:20 +00:00
Stephen Diehl 7f29497262 Minor version bump 2018-01-08 16:29:18 +00:00
Stephen Diehl 6d2a32f0dd Add transformers-compat for ancients MTL/Transformer versions 2018-01-08 16:28:14 +00:00
Stephen Diehl 74f185e22f Update stack build scripts 2018-01-07 13:03:56 +00:00
Stephen Diehl 8db43f6bff Bump upper bounds for safe 2018-01-07 09:04:20 +00:00
Ian JeffriesandStephen Diehl 4694fee383 Fix spelling. (#77) 2017-12-27 10:29:52 +00:00
Moritz KieferandStephen Diehl 2d8d1f3357 Reexport scanl' (#74)
This is useful for the same reasons that foldl' is useful
2017-12-18 19:03:45 +00:00
ProfpatschandStephen Diehl d462550f07 add mapExcept(T) and withExcept(T) (#76)
Since we already export functions like `withState` and the names don’t clash
with anything, we export these transformation functions as well.
Every function from Control.Monad.Except is now exported, the user doesn’t need
to import it for common error handling tasks.
2017-12-18 13:04:43 +00:00
Pi3randStephen Diehl c9a2d176d1 Add throwE & catchE (#73)
* Add throwE & catchE

My understanding is that `throwError` & `catchError` are deprecated (maybe we should remove them?)

* Update Protolude.hs

* Update Protolude.hs
2017-11-30 13:31:19 +00:00
TimothyandStephen Diehl 8eb1633dd8 Add warnings for partial functions (#70) 2017-10-24 14:27:18 +01:00
Stephen Diehl 2c44add128 Merge branch '4e6-ghc-822rc1' 2017-10-05 13:20:58 +01:00
Stephen Diehl 62393669dc update the travis file for 8.2.2 2017-10-05 13:20:47 +01:00
Dmitry Bushev abf2fbc369 Support GHC-8.2.2
When compiling with GHC 8.2.2-rc1:

```
src/Error.hs:25:17: error:
    Variable ‘r’ used as both a kind and a type
    Did you intend to use TypeInType?
   |
25 | error :: forall (r :: RuntimeRep) . forall (a :: TYPE r) . HasCallStack => Text -> a
   |                 ^^^^^^^^^^^^^^^^^
```

`TypeInType` should be enabled, see GHC issue 14121
https://ghc.haskell.org/trac/ghc/ticket/14121
2017-10-05 14:29:35 +03:00
Pi3randStephen Diehl 72085dec92 Add putErrLn to match putStrLn (#67)
* Add `putErrLn` to match `putStrLn`

Fix #66

* Add putErr for the most usual inference case

* Rename `putErr` into `putErrText`

In order to allow further specializations in the future if necessary.
2017-10-04 08:53:19 +01:00
Tony DayandStephen Diehl 923194c5b2 ghc-8.2 HasField, Type & * (#65) 2017-09-15 13:43:41 +01:00
Stephen Diehl 5964f545cf fix bifunctor import for base 4.8 2017-08-22 19:55:51 +01:00
Stephen DiehlandGitHub 8387808d6e Fix README with relative links 2017-08-22 19:26:57 +01:00
Stephen Diehl 2cd38fcb03 remove hidden modules 2017-08-22 19:25:27 +01:00
Stephen Diehl 9533e739ff use hierarchical namespace for all modules 2017-08-22 19:23:46 +01:00
Stephen Diehl 6c9b60700e expose debug module 2017-08-17 10:05:02 +01:00
Michael BurgeandStephen Diehl 7908bad846 Debug trace functions now output to stderr (#62) 2017-08-05 14:22:21 +01:00
Tony DayandStephen Diehl bfc7306ed7 Added RealFloat (#61) 2017-07-28 13:06:13 +01:00
Stephen Diehl 63d561de0c bump docs upper bounds for base for GHC 8.2 2017-07-25 13:03:07 +01:00
Pi3randStephen Diehl 3175e6c1eb Update protolude.cabal (#60)
Increase upperbound of safe.

This allows the master git version to build using the latest stackage`lts-8.23`
2017-07-24 17:54:42 +01:00
Stephen Diehl eccb07f726 polymorphic return type for die 2017-07-17 16:33:12 +01:00
Stephen Diehl 459d82012b Merge branch 'cocreature-ghc-8.2' 2017-07-05 14:42:40 +01:00
Stephen Diehl 5717b9a42c description and synopsis lines for latest cabal 2017-07-05 14:42:30 +01:00
Moritz Kiefer d7bc982142 Bump base upper bound for GHC 8.2 2017-07-05 08:02:57 +02:00
ProfpatschandStephen Diehl d30d6a39ab add (<&>), fixes issue #53 (#56) 2017-06-14 07:33:23 +02:00