Language-Ext 5.0 alpha-1 #1303
louthy
announced in
Announcements
Replies: 1 comment 1 reply
-
@louthy thanks for updates. I haven't looked extensively at the v5 yet, so apologies if this has been answered, I am currently using TryAsync(()=>computeResult).ToEither. If this is removed, what is the alternative way, please? Would we have to use Eff/Aff? Any particular motivation in removing it? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
This release should only be consumed by those who are interested in the new features coming in the monster
v5
release.Just to give you an idea of the scale of this change:
It is a monster and should be treated with caution...
I am also not going to go into huge detail about the changes here, I will simply list them as headings. I will do a full set of release notes for the
beta
release. You can however follow the series of articles I am writing to help you all prep forv5
-- it goes (and will go) into much more detail about the features.New Features
K<F, A>
- higher-kinds enabling interfaceFunctor.map
,Alternative.or
,StateM.get
, ...).Map
,.Or
,Bind
, etc.),BindT
,MapT
, etc. ), now fully generic.Option
,Either<L>
, etc.)Functor<F>
Applicative<F>
Monad<M>
Foldable<F>
Traversable<T>
Alternative<F>
SemiAlternative<F>
Has<M, TRAIT>
Reads<M, OUTER_STATE, INNER_STATE>
Mutates<M, OUTER_STATE, INNER_STATE>
ReaderM<M, Env>
StateM<M, S>
WriterM<M, OUT>
MonadT<M, N>
- Monad transformersReaderT<Env, M, A>
WriterT<Out, M, A>
StateT<S, M, A>
IdentityT<M, A>
EitherT<L, M, R>
ValidationT<F, M, S>
OptionT<M, A>
TryT<M, A>
IdentityT<M, A>
ResourceT<M, A>
Free<F, A>
- Free monadsIO<A>
- new IO monad that is the base for all IOEff<RT, A>
monad rewritten to use monad-transformers (StateT<RT, ResourceT<IO>, A>
)Eff<RT, A>
doesn't needHasCancel
trait (or any trait)Pure
/Fail
monadsBreaking changes
Seq1
made[Obsolete]
Semigroup<A>
andMonoid<A>
types have been refactoredTypeClass
class has been renamedTrait
Apply
extensions that use rawFunc
removedSequence
extension methods have been removedTraverse
extension methods have been removedToComparer
doesn't exist on theOrd<A>
trait any moreLanguageExt.ClassInstances.Sum
Guard<E>
has becomeGuard<E, A>
UnitsOfMeasaure
namespace converted to a static classEither
doesn't supportIEnumerable<EitherData>
any moreEither
'bi' functions have their arguments flippedTuple
andKeyValuePair
removedSome<A>
OptionNone
EitherUnsafe<L, R>
EitherLeft<L>
EitherRight<L>
Validation<MFail, Fail, A>
Try<A>
TryOption<A>
TryAsync<A>
TryOptionAsync<A>
Result<A>
OptionalResult<A>
Option<A>
ExceptionMatch
,ExceptionMatchAsync
,ExceptionMatchOptionalAsync
LanguageExt.SysX
LanguageExt.CodeGen
LanguageExt.Transformers
This discussion was created from the release Language-Ext 5.0 alpha-1.
Beta Was this translation helpful? Give feedback.
All reactions