Adam Wespiser and GitHub
3e249724fd
0.3.1 Release ( #133 )
2022-03-12 21:42:32 -05:00
Adam Wespiser and GitHub
1b453b6064
Re-export isInfixOf, isSuffixOf from Data.List, Issue #119 ( #135 )
2022-03-06 11:20:07 -05:00
f8cf1375d5
Add HasCallStack to unsafe* functions ( #129 )
...
Co-authored-by: Adam Wespiser <adamwespiser@gmail.com >
2022-02-21 14:38:19 -05:00
Adam Wespiser and GitHub
ee4d94feab
Support ghc-9.0.1 ( #131 )
2022-02-20 20:19:01 -05:00
84d228a3b5
gcdInt' and gcdWord' are defined only with integer-gmp ( #123 )
...
Co-authored-by: Adam Wespiser <adam.wespiser@simspace.com >
2021-11-20 16:03:29 -05:00
Martijn Bastiaan
36ce510547
Banish String on readMaybe and readEither
2020-12-05 20:06:45 +01:00
sdiehl
9309ca3107
Migrate show to use Conv.StringConv
2020-04-25 11:58:41 +01:00
Stephen Diehl and GitHub
2666f1e830
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
2020-01-24 11:06:09 +00:00
Stephen Diehl
9d450cd9ff
Fixity declaration for <<*>>, fixes #103
2019-04-15 10:04:25 +01:00
Thomas Scholtes and Stephen Diehl
7491e92f2a
'Protolude.Error.error' produces call stacks ( #102 )
...
Calling `Protolude.Error.error` will now include the call stack in the
`ErrorCall` that is raised. Before this was not the case because we used
the wrong implicit variable.
2019-04-10 15:38:14 +01:00
Vilem and Stephen Diehl
3add75ac4d
Add lines, words, unlines, unwords ( #101 )
...
These operations (over `String` instead of `Text`) are part of Prelude.
2019-04-06 14:30:53 +01:00
Stephen Diehl
8c3c133342
Fix for TypeInType before 8.6
2018-10-02 10:37:58 +01:00
Stephen Diehl and GitHub
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 Day and Stephen Diehl
f75c99bda8
Some fixes for ghc-8.6 ( #93 )
2018-07-29 08:04:03 +01:00
David Hewson and Stephen Diehl
ace10b648c
<&> docs fix ( #88 )
...
`@<&>@` appears as `&` on the page, which seems wrong
2018-06-10 09:20:15 +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 and GitHub
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
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
Ian Jeffries and Stephen Diehl
4694fee383
Fix spelling. ( #77 )
2017-12-27 10:29:52 +00:00
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
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
9533e739ff
use hierarchical namespace for all modules
2017-08-22 19:23:46 +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
eccb07f726
polymorphic return type for die
2017-07-17 16:33:12 +01: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
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
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
5866877d3f
reformat base exports of typelits
2017-03-11 09:54:30 +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
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