Changelog for universum-1.2.0
1.2.0
-
#159 Breaking change: Remove
text-formatdependency.Migration guide: import
Buildabletype class either fromtext-formatorformattingorfmtlibrary. Instead ofprettyyou can usefmtfunction. -
#164: Don't reexport
log :: Floating a => a -> a.
1.1.1
- #148:
Add
CODEOWNERSand contributing guide. - #135: Add documentation regarding internal module structure.
- #113:
Annotate
atfunction fromUnsafemodule andordNubfunction fromNubmodule withliquidhaskell. - #73: Add more examples to docs and fix warnings where possible.
- Move reexport of
NonEmptytoUniversum.Listmodule.
1.1.0
- #144:
Add
Excpattern synonym. - #60:
Reexport
Naturaltype fromNumeric.Naturamodule. - #118:
Reexport
TypefromData.Kindmodule. - #130:
Merge
ToListandContainertype classes into single type classContainer. - #15:
Add
?:function toUniversum.Monad.Maybe. - #128:
Add
Unsafemodule with unsafe functions to works with lists andMaybe. - #129:
Reexport
id. - #136:
Change
foldl'type back, addflipfoldl'instead.
1.0.4.1
- #127:
Fix
doctestfortext-1.2.3.
1.0.4
- #53:
Add
doctesttouniversum. Also imporove and fix documentation. - #117:
Drop the support of
GHC-8.0.1. - #104:
Reexport
hashWithSaltfromData.Hashable. - #95:
Reexport
ComposefromData.Functor.Compose. - #124:
Export methods of class
Exception.
1.0.3
- #114:
Reexport more functions from
safe-exceptions.
1.0.2
- #91:
Change argument order of
foldl'. - #97:
Add
ToPairstype class with the ability to have list of pairs.
1.0.1
- #100:
Add
bugfunction =impureThrow.
1.0.0
- #90: Improve project structure.
- #89:
Add export of
Universum.Nubmodule toUniversum. - Add
listToMaybetoUniversum.Monad.Reexport. - #81:
Make
putTextandputLTextto be versions ofputStr. AddputTextLnandputLTextLn-- versions ofputStrLn. - #5:
Add safe versions of
head,tail,init,lastfunctions forNonEmptylist. Oldhead(which returnsMaybe) is renamed tosafeHead. Reexports fromsafeare removed. - Remove
unsnoc(this function is very slow and shouldn't be used). - #88:
Add
HasCallStack =>toerrorandundefinedfunctions. - #58:
Make
Elementtype family be associated type family. Remove{-# OVERLAPPABLE #-}instance forToListandContainer. Add default instances for basic types. RemoveWrappedListnewtypebecause it's not needed anymore. RemoveNontrivialContainerconstraint alias. - #56:
Make
elemandnotElemfaster forSetandHashSetby introducingElementConstraintassociated type family. - Remove
Unsafemodule. Though, see issue #128 for disuccion regarding possible return of this module.
0.9.1
- Change
baseversion to be< 5.
0.9.0
- #79: Import '(<>)' from Semigroup, not Monoid.
- Improve travis configartion.
- #80:
Rename
ContainertoToList,NontrivialContainertoContainer. KeepNontrivialContaineras type alias. - Rename
Containersmodule toContainer.Class. - Move all container-related reexports from
UniversumtoContainer.Reexport. - Add default implementation of
nullfunction. - Add
WrappedListnewtype with instance ofContainer. - Improve compile time error messages for disallowed instances.
0.8.0
- #83:
Change the order of types in
showandprintfunctions. - Move string related reexports and functions to
Convmodule. - Rename
Convmodule toString. - Move
printfunction toPrintmodule. - #77:
Add
modify'function to export list.
0.7.1.1
- #69:
Document
SuperCompositionoperator(...).
0.7.1
- #68:
Separate all 'nub' functions to
Nubmodule, addsortNubandunstableNubthere. - #54: Reorganize .cabal.
- #21: Add benchmarks.
- #65:
Use
TypeNatsinstead ofTypeLitswhen possible.
0.7.0
- #47:
Reexport
putandgetforMonadState. - #48:
Export boxed
Vectortype. - #49:
Export
IdentityTandrunIdentityT. - #51:
Add
fromRightandfromLeftthat behave likefromMaybebut forEither. - #52:
Add
maybeToMonoid :: Monoid m => Maybe m -> m. - Remove
Symbol-related types for sure. - Return back seems to be useful function
guardMremoved inv0.3. - Add
notElemforNonTrivialContainer.
0.6.1
- Fixed version number bug (it had 4 numbers).
0.6.0.0
- #62: Export exceptions-related functions from 'safe-exceptions'.
0.5.1
- Fix an infinite loop in
decodeUtf8fromTexttoByteString.Lazy.
0.5
- Export
MonadTranstypeclass. - Remove
Symbol-related exports fromGHC.TypeLits. - Remove
SrcLocandLocationreexports fromGHC.ExecutionStack. - Add
Withtype operator. - Add
hashNub. - Export strict
StateTinstead of lazy.
0.4.3
- Assign associativity and priority to (...), export typeclass itself.
0.4.2
- #25: Add vararg functions composition operator (...).
- Rewrite
concatMapM&concatForMso that they allow traversed and returned-by-function container types differ.
0.4.1
- Reexport
sortWithfromGHC.Exts.
0.4
- Add haddock documentation with 100% coverage.
- Rewrite README tutorial.
- #37:
Add generalized version of
readEither. - #38:
Add
evaluateNF,evaluateNF_,evaluateWHNF,evaluateWHNF_. - #39:
Add lifted versions of
IOReffunctions. - Remove
foreach - Reexport
(&&&)fromControl.Arrow. - Add lifted version of
readTVarIO. interactandgetContentswork with Lazy Text.- Reexport
MaybeT,maybeToExceptT,exceptToMaybeT.
0.3
- #28:
Remove
putByteStringandputLByteString. - #29:
Remove
panic,FatalErrorandnotImplemented. RenameNotImplementedintoUndefined. - #32:
Remove
orAlt,orEmpty,liftAA2,eitherA,purer,<<*>>,traceIO,guardM,hush,tryIO,liftM',liftM2',applyN,guardedA, Bifunctor instances for tuples of length higher than 2. GeneralizeconcatMapM, addconcatForMand operator versions. - #35:
Generalize
andM,orM,allM,anyMover container type.
0.2.2
- #33:
Add
($)andEachtype operators.
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
SymbolandNattypes fromGHC.TypeLitsby default. - Export
genericLengthand other generic list return functions. - Rename
msgtofatalErrorMessage. - Export
ExceptT - Export
ReaderT, andStateTconstructors. - Export
NonEmptytype and constructor for Base 4.9 only. - Export
Data.Semigrouptype and functions for Base 4.9 only. - Export
String.
0.1.13
- Add lenses from
microlens. - Add
(<&>). - Reexport
(&)fromData.Functionif it's present there instead of always defining our own (this is actually done by reexporting it fromLens.Microwhich does the right thing). - Fix a space leak in
whenJust.
0.1.12
-
Use custom classes instead of
Foldable. Thanks to this,lengthand similar functions can't anymore be used on tuples orMaybe, but can be used on e.g.Text,ByteStringandIntSet. -
Add
allM,anyM,andM,orM. -
Reexport
failandMonadFail.
0.1.11
- Expose
putByteStringandputLByteStringmonomorphic versions ofputStrLnfunctions - Switch exported
(<>)to be fromData.Monoidinstead of Semigroup. - Export
Hashable
0.1.10
- Generalize most
IOfunctions toMonadIO - Make
dieavailable for older versions of base
0.1.9
- Make
sumandproductstrict
0.1.8
foreachfor applicative traversals.hushfunction for error handling.tryIOfunction for error handling.passfunction for noop applicative branches.- Mask
Handlertypeclass export. - Mask
yieldfunction export.
0.1.7
- Export monadic
(>>)operator by default. - Add
traceIdandtraceShowIdfunctions. - Export
readerandstatefunctions by default. - Export lifted
throwIOandthrowTofunctions.
0.1.6
- Add uncatchable panic exception throwing using Text message.
- Remove
printf - Remove
string-convdependency so Stack build works withoutextra-deps. - Bring
Callstackmachinery in for GHC 8.x. - Remove
throwandassertfromControl.Exceptionexports. - Remove
unsafeShiftLandunsafeShiftRfromData.Bitsexports. - Reexport
throwasunsafeThrowvia Unsafe module. - Hides all Show class functions. Only the Class itself is exported. Forbids custom instances that are not GHC derived.
- Export
encodeUtf8anddecodeUtf8functions by default. - Adds
unsnocfunction.
0.1.5
- Initial release.