Moritz Kiefer and Stephen Diehl
2d8d1f3357
Reexport scanl' ( #74 )
...
This is useful for the same reasons that foldl' is useful
2017-12-18 19:03:45 +00:00
Profpatsch and Stephen 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
Pi3r and Stephen 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
Timothy and Stephen 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
Pi3r and Stephen 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 Day and Stephen 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 Diehl and GitHub
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 Burge and Stephen Diehl
7908bad846
Debug trace functions now output to stderr ( #62 )
2017-08-05 14:22:21 +01:00
Tony Day and Stephen 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
Pi3r and Stephen 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
Profpatsch and Stephen Diehl
d30d6a39ab
add (<&>), fixes issue #53 ( #56 )
2017-06-14 07:33:23 +02:00
Stephen Diehl and GitHub
46220a1a4a
Added HasCallStack constraint for trace functions ( #55 )
...
* added HasCallStack constraint for trace functions, for issue #39
* unpack string on 7.6
2017-05-31 10:13:08 +01:00
Stephen Diehl
c2570f77e6
better named either helper function, fixes #54
2017-05-20 19:03:29 +01:00
Stephen Diehl
b4d33c3c96
include until from GHC.Base
2017-05-06 13:39:48 +01:00
Stephen Diehl
8c676e28de
expose all pointers
2017-05-03 10:48:48 +01:00
Stephen Diehl
a2c66fc236
update changelog
2017-05-03 10:44:31 +01:00
Stephen Diehl
456a063e35
update changelog
2017-05-03 10:37:39 +01:00
Stephen Diehl
269c81b1d2
make die take Text argument, fixes #51
2017-05-03 10:29:55 +01:00
Moritz Kiefer and Stephen Diehl
307ecd7d6a
Add hPutStr and hPutStrLn ( #52 )
2017-05-03 10:01:19 +01:00
Stephen Diehl
41710698ee
note about unzip exposure
2017-03-24 10:14:49 +00:00
Stephen Diehl
8b9197ff01
ghc 8.0.2 supported
2017-03-17 13:09:12 +00:00
Stephen Diehl
89d4a49c7e
export constructors for GHC.Generics sum/product
2017-03-17 13:07:24 +00:00
Stephen Diehl
ca5087201b
adds unzip, fixes issue #45
2017-03-12 15:54:30 +00:00
Stephen Diehl
8ad2522cda
add strictness functions documentation
2017-03-11 09:59:58 +00:00
Stephen Diehl
5866877d3f
reformat base exports of typelits
2017-03-11 09:54:30 +00:00
Pi3r and Stephen Diehl
92905843a4
Update CHANGES ( #42 )
2017-03-09 22:48:04 +00:00
Pi3r and Stephen Diehl
a324e26d54
Update safe upper bound for ghc >=7.8.0 ( #43 )
2017-03-09 22:47:29 +00:00
Pi3r and Stephen Diehl
79bbc2de6e
Add short-circuiting version of '<||>' and '<&&>' ( #41 )
2017-03-05 14:05:05 +00:00
Pi3r and Stephen Diehl
721374d42c
Add (<&&>),(<||>) ( #40 )
2017-02-28 14:59:05 +00:00
Stephen Diehl
0ab61665ee
liftIO1 and liftIO2 for issue #38
2017-02-11 14:52:56 +00:00
Stephen Diehl
6ac3e01da0
fix safe bounds for breakage on GHC 7.0.1 build
2017-02-11 13:47:31 +00:00
Alexander Kjeldaas and Stephen Diehl
fd3d667cde
Typo? ( #37 )
2017-02-07 14:12:47 +00:00
Stephen Diehl
f9b5a5cbf4
export Floating
2017-01-21 14:53:04 +00:00
Carl Baatz and Stephen Diehl
12cd9fae46
String is not exported. ( #36 )
2017-01-13 07:26:34 +00:00
Stephen Diehl
531a07ccfc
test all stack resolvers
2017-01-03 15:50:05 +00:00
Stephen Diehl
e72d06929e
Hold off on exporting TypeInType machinery
2017-01-03 14:13:25 +00:00
Stephen Diehl
39d56792ce
Fix up PBase exports, expose Generics metadata
2017-01-02 13:28:21 +00:00
Stephen Diehl
3994639b2b
Mask supporting modules
2017-01-02 12:06:37 +00:00