Changelog for universum-1.8.3
1.8.3
1.8.2.2
- #297
- Add support for GHC-9.10 without any user-visible changes.
1.8.2.1
- #293
- Add explicit kind signatures for custom operators.
- Bump some dependency constraints to support GHC-9.8.
1.8.2
- #289:
Make universum work with LTS-21.0.
- Re-export
(~)type operator.
- Re-export
- #283:
Bump the upper version bound on
textto2.0.2.
1.8.1.1
- #282:
Bump the upper version bound on
textto2.0.1.
1.8.1
- #271: Add compatibility with tasty-hedgehog 1.2.0.0
1.8.0
-
#252: Remove
Optionre-export. UseMaybeinstead. -
#176: Deprecate
note. -
#206: Remove
listToMaybe. Migration guide: usesafeHeaddirectly with functions fromUniversum.Containerinstead. -
#182: Deprecate
microlensandmicrolens-mtldependencies. -
#165: Change the type of
readMaybefromreadMaybe :: Read a => String -> Maybe ato it's polymorphic versionreadMaybe :: forall b a. (ToString a, Read b) => a -> Maybe b. -
#199: Change type of
concatMapfromconcatMap :: Foldable f => (a -> [b]) -> t a -> [b]toconcatMap :: Container c => (Element c -> [b]) -> c -> [b]. -
250: Replace
groupexport fromData.Listwithgroup,groupBy,groupWithandgroupAllWithfromData.List.NonEmpty.
1.7.3
-
#236: Add
updateMVar'andupdateTVar'. -
#244 Add
ToPairsinstances for[(k, v)]andNonEmpty (k, v). -
#238: Add
fromList.
1.7.2 (rev1)
- Permit
text-1.2.5.0.
1.7.2
- Permit
text-1.2.4.1. - #233:
Add
someNE.
1.7.1
1.7.0
- #221:
Add safe versions of
minimum,maximum,minimumBy,maximumBy,foldr1,foldl1functions forNonEmptylist. Old their versions fromContainertypeclass now returnMaybeand havesafeprefix in name (e.g.safeMinimum). Add unsafe versions of those functions toUnsafemodule. - #185: Enable more warnings, fix all warnings.
1.6.1
- #219:
Bump upper bound on
text.
1.6.0
-
#207: Remove various monad transformer combinators,
flipfoldl', and<<$>>from the list of changes suggested in.hlint.yaml. -
#214: Update supported GHC versions (replace 7.10.3 with 8.6.5).
-
#212 Added rewrite rule for
toString . toTextcase. This may change semantics in some corner cases (becausetoString . toTextis not strictly the identity function). -
#215: Fix docstrings in
Universum.Lifted.Fileto mention correct module when referencing related functions.
1.5.0
-
Make
error's stacktrace exclude site of theerrorfunction itself. -
#200: Implemented a lifted version of
withFileand addedhClosetoUniversum.Lifted.Fileas discussed previously in #186. -
#204: Make
tracenon-polymorphic over text argument, addtraceIdWithandtraceShowIdWith. -
#197
hPutStr,hPutStrLnandhPrintadded toUniversum.Print. The interface for the backing typeclassUniversum.Print.Printchanged. It was also moved to the internal moduleUniversum.Print.Internaland should be considered unstable.Migration guide: The interface for the
Printclass should be considered internal and may be subject to sudden change. If you must implement your own instances, then importUniversum.Print.Internal(be aware that there are name clashes in the functions fromUniversum.PrintandUniversum.Print.Internal) -
#201 Generalized the type of
Universum.Lifted.Env.die. Should not break existing code, apart from, perhaps, type inference.
1.4.0
-
#167:
identityhas been removed.Migration guide: use
Universum.idinstead. -
#177: The
mask_reexport fromsafe-exceptionshas been removed.Migration guide: use
Control.Exception.Safe.mask_fromsafe-exceptionsinstead. -
#178:
getArgshas been removed.Migration guide: use
liftIOdirectly withSystem.Environment.getArgsfrom base. -
#179:
getContentsandinteracthave been removed.Migration guide: use
liftIOdirectly withData.Text.Lazy.IO.getContentsandData.Text.Lazy.IO.interact, both from thetextpackage. -
#180: The
Lifted.STmodule has been removed.Migration guide: use
liftIOdirectly with functions fromControl.Monad.STinstead. -
#181:
listhas been removed.
1.3.0
-
#167:
identityhas been deprecated.Migration guide: use
Universum.idinstead. -
#170: Remove
ElementConstraintfrom theContainerclass.Migration guide: remove
ElementConstraintfrom every instance and every type signature. -
#174 The
type-operatorsdependency has been removed. -
#177: The
mask_reexport fromsafe-exceptionshas been deprecated.Migration_guide: use
Control.Exception.Safe.mask_fromsafe-exceptionsinstead. -
#178:
getArgshas been deprecated. To be removed in a future version.Migration guide: use
liftIOdirectly withSystem.Environment.getArgsfrombase. -
#179:
getContentsandinteracthave been deprecated.Migration guide: use
liftIOdirectly withData.Text.Lazy.IO.getContentsandData.Text.Lazy.IO.interact, both from thetextpackage. -
#180: The
Lifted.STmodule has been deprecated. To be removed in a future version.Migration guide: use
liftIOdirectly with functions fromControl.Monad.STinstead. -
#181:
listhas been deprecated. To be removed in a future version.
1.2.0
-
#159 Breaking change: Remove
text-formatdependency.Migration guide: import
Buildabletype class either fromtext-formatorformattingorfmtlibrary. There is no direct replacement forprettyandprettyLin popular libraries. You can defineprettyL = Data.Text.Lazy.Builder.toLazyText . buildandpretty = Data.Text.Lazy.toStrict. prettyL`. -
#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.