Commit Graph
89 Commits
Author SHA1 Message Date
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 DiehlandGitHub 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
VilemandStephen 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 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
Tony DayandStephen Diehl f75c99bda8 Some fixes for ghc-8.6 (#93) 2018-07-29 08:04:03 +01:00
Stephen Diehl 243a309bc1 On Base 4.11 use the provided <&>, fixes #53 2018-03-26 11:33:46 +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
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
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
Stephen Diehl eccb07f726 polymorphic return type for die 2017-07-17 16:33:12 +01:00
ProfpatschandStephen Diehl d30d6a39ab add (<&>), fixes issue #53 (#56) 2017-06-14 07:33:23 +02:00
Stephen DiehlandGitHub 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 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
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 0ab61665ee liftIO1 and liftIO2 for issue #38 2017-02-11 14:52:56 +00:00
Stephen Diehl 39d56792ce Fix up PBase exports, expose Generics metadata 2017-01-02 13:28:21 +00:00
Stephen Diehl 03f5746e96 Rework implicit exports to be explicit. 2017-01-02 11:46:11 +00:00
Stephen Diehl 070ac54067 Fix byteswap functions under GHC 7.6 2017-01-02 10:59:05 +00:00
Stephen Diehl e452604224 Fix Void and Proxy under GHC 7.6 2017-01-02 10:53:01 +00:00
Stephen Diehl e836d3f690 stack test harness 2017-01-02 10:45:43 +00:00
Stephen Diehl d0e81532af Use Data.Function (&) if base>4.8, fixes #33 2017-01-01 23:43:43 +00:00
Stephen Diehl 4a2ea2735b Merge branch 'docs'
Conflicts:
	CHANGES.md
2017-01-01 20:24:57 +00:00
Stephen Diehl ed6fa9c8ea refine monaderror section 2016-12-14 17:16:20 +00:00
Stephen Diehl 1f2ed3e4cb fix lower bounds 2016-12-13 12:31:47 +00:00
Stephen Diehl cc0565112f monoid and fold rearranging 2016-12-13 09:14:39 +00:00
Stephen Diehl 0fb7730b0c expand semigroup 2016-12-12 16:30:52 +00:00
Stephen Diehl 257a38f68f functor module 2016-12-12 13:09:18 +00:00
Stephen Diehl 66958def93 export encoding error handlers 2016-12-12 11:14:42 +00:00
Stephen Diehl c692eb03fb only export byteswap functions for ghc >7.6 2016-12-12 11:04:52 +00:00
Stephen Diehl b32c80d0bb basic hierarchy in place 2016-12-10 12:46:48 +00:00
Stephen Diehl fb6a942954 export generic list functions 2016-12-08 09:55:27 +00:00
Stephen Diehl 82e0b04e4d use default monoid (<>) instead of semigroup 2016-11-15 14:57:16 +00:00
Stephen Diehl aeacdd9630 include hashable 2016-10-28 16:41:28 +01:00
Moritz Kiefer 961f71b971 Export strict versions of sum and product 2016-10-14 22:06:44 +02:00
Stephen Diehl 860f74b3c2 Use explicit 'bool' import. 2016-10-14 14:06:57 +01:00
Stephen Diehl a86046b654 guarded and guardedA added to root. 2016-10-14 11:03:37 +01:00
Stephen Diehl 7a0e274b20 note and hush for #22 2016-10-10 11:13:26 +01:00
Stephen Diehl 2010cec78e Mask yield, fixes #23 2016-10-10 11:05:40 +01:00
Stephen Diehl 0346b366ee Remove Handler export, fixes #25. 2016-10-10 11:02:24 +01:00
Stephen Diehl ee06770742 `pass` function, fixes #25 . 2016-10-10 11:00:42 +01:00
Stephen Diehl 36b56ad3a2 for function for #19 2016-09-14 09:47:47 +01:00
Stephen Diehl 7aa8b6646e Expose `state and `reader` functions. 2016-07-05 07:22:46 -04:00
Stephen Diehl 245dd5190e Explicitly lift throwIO and throwTo. 2016-07-02 20:11:20 -04:00