Changelog for universum-0.2.1
0.2.1
- #24:
Add
whenNothing
,whenNothing_
,whenNothingM
,whenNothingM_
,whenLeft
,whenLeftM
,whenRight
,whenRightM
,whenNotNull
,whenNotNullM
. - #26:
Add
usingReader
,usingReaderT
,usingState
,usingStateT
,executingState
,executingStateT
,evaluatingState
,evaluatingStateT
. - Remove
maybeToEither
.
0.2
- Add
one
(similar tosingleton
). - Expose
Symbol
andNat
types fromGHC.TypeLits
by default. - Export
genericLength
and other generic list return functions. - Rename
msg
tofatalErrorMessage
. - Export
ExceptT
- Export
ReaderT
, andStateT
constructors. - Export
NonEmpty
type and constructor for Base 4.9 only. - Export
Data.Semigroup
type and functions for Base 4.9 only. - Export
String
.
0.1.13
- Add lenses from
microlens
. - Add
(<&>)
. - Reexport
(&)
fromData.Function
if it's present there instead of always defining our own (this is actually done by reexporting it fromLens.Micro
which does the right thing). - Fix a space leak in
whenJust
.
0.1.12
-
Use custom classes instead of
Foldable
. Thanks to this,length
and similar functions can't anymore be used on tuples orMaybe
, but can be used on e.g.Text
,ByteString
andIntSet
. -
Add
allM
,anyM,
andM
,orM
. -
Reexport
fail
andMonadFail
.
0.1.11
- Expose
putByteString
andputLByteString
monomorphic versions ofputStrLn
functions - Switch exported
(<>)
to be fromData.Monoid
instead of Semigroup. - Export
Hashable
0.1.10
- Generalize most
IO
functions toMonadIO
- Make
die
available for older versions of base
0.1.9
- Make
sum
andproduct
strict
0.1.8
foreach
for applicative traversals.hush
function for error handling.tryIO
function for error handling.pass
function for noop applicative branches.- Mask
Handler
typeclass export. - Mask
yield
function export.
0.1.7
- Exports monadic
(>>)
operator by default. - Adds
traceId
andtraceShowId
functions. - Exports
reader
andstate
functions by default. - Export lifted
throwIO
andthrowTo
functions.
0.1.6
- Adds uncatchable panic exception throwing using Text message.
- Removes
printf
- Removes
string-conv
dependency so Stack build works withoutextra-deps
. - Brings
Callstack
machinery in for GHC 8.x. - Removes
throw
andassert
fromControl.Exception
exports. - Removes
unsafeShiftL
andunsafeShiftR
fromData.Bits
exports. - Reexport
throw
asunsafeThrow
via Unsafe module. - Hides all Show class functions. Only the Class itself is exported. Forbids custom instances that are not GHC derived.
- Export
encodeUtf8
anddecodeUtf8
functions by default. - Adds
unsnoc
function.
0.1.5
- Initial release.