Changelog for morley-prelude-0.5.1
0.5.1
- !1080
Add more
PrettyShow
type instances- For lists
- Add instances that forbid defining
PrettyShow
forString
,Text
, andByteString
- !1075
Add suitable types for oddly-sized unsigned integers
- Add a dependency on
OddWord
. - Re-export
Word62
,Word63
types representing unsigned integer word types with odd sizes inPrelude
.
- Add a dependency on
- !1025
Reduce the number of unsafe functions at the call site
- Add
unsafe
, which is primarily needed for making unsafe counter-parts of safe functions, toUnsafe
. - Add
unsafeM
, which is similar tounsafe
, but throws monadic exceptions.
- Add
- !978
Make it difficult to misuse 'Show'
show
exported frommorley-prelude
now requires the type to be an instance of an open type familyPrettyShow
of kindConstraint
. This is intended to discourage the use ofshow
for user-facing output (useBuildable
instead).- The original
show
is exported fromDebug
module, which is intended to be imported qualified.
- !1035 Better type errors on invalid int casts
0.5.0
- !1001
Make fromIntegralNoOverflow safe(r)
fromIntegralNoOverflow
now doesn't throwArithException
Underflow
- Moved
fromIntegralNoOverflow
fromUnsafe
toPrelude
- !936
- Hide
Universum
'sfromIntegral
and redefine it asintCast
inPrelude
. - Re-export
intCastMaybe
asfromIntegralMaybe
inPrelude
. - Add
fromIntegralToRealFrac
toPrelude
. - Add
fromIntegralOverflowing
toPrelude
. - Add
fromIntegralNoOverflow
toUnsafe
. - Add
Unsafe.fromIntegral
which is likeUniversum
'sfromIntegral
but raises exception on overflow/underflow.
- Hide
- !945
- Bump Stackage LTS version from 17.9 to 18.10.
0.4.2
- !867
- Hid Prelude's
&&
and||
operators - Exported
Boolean
typeclass and polymorphic&&
and||
operators.
- Hid Prelude's
0.4.1
- !861
- Removed the re-export of some basic
microlens
operators fromuniversum
in favor of the ones fromlens
with the same name.
- Removed the re-export of some basic
- !779
- Export
for
.
- Export
0.4.0
-
- Reverted hiding
Type
from export list.
- Reverted hiding
-
- Replaced mixins and dependency on
base
withbase-noprelude
.
- Replaced mixins and dependency on
-
Change the license to MIT.
0.3.0
- Hide
Nat
export.
0.2.0.1
- Update maintainer.
0.2.0
- Hide
readFile
andwriteFile
. - Add
Unsafe
module which re-exportsUniversum.Unsafe
.
0.1.0.4
Initial release.
Re-exports universum
.