fpdart 0.0.8
fpdart: ^0.0.8 copied to clipboard
Functional programming in Dart and Flutter. All the main functional programming types and patterns fully documented, tested, and with examples.
0.0.8 13 July 2021 #
- Released Part 3 of Fpdart, Functional Programming in Dart and Flutter
- Added Pure Functional Flutter app example (
pokeapi_functional) - Added
flatMapTaskandtoTaskmethods toIOto lift and chainIOwithTask - Added
flatMapTaskandtoTaskmethods toIOEitherto lift and chainIOEitherwithTaskEither - Added pattern matching extension methods to
bool(boolean.dart) - Added functions to get random
int,double, andboolin a functional way (usingIO) (random.dart) - Added functions, extension methods,
Ord, andEqinstances toDateTime(date.dart)
0.0.7 6 July 2021 #
- Released Part 2 of Fpdart, Functional Programming in Dart and Flutter
- Added
ComposeandCompose2, used to easily compose functions in a chain - Added
curryanduncurryextensions on functions up to 5 parameters - Completed
TaskOptiontype implementation, documentation, and testing - Expanded documentation and examples
- Added
TaskEither.tryCatchKandEither.tryCatchK, by tim-smart (#10, #11) π
0.0.6 29 June 2021 #
- Released Part 1 of Fpdart, Functional Programming in Dart and Flutter
- Added functional extension methods on
Iterable(List) - Completed
IOEithertype implementation, documentation, and testing - Added
constFfunction - Added
optionandoptionOf(same as dartz) - Added
Either.right(r)factory constructor toEitherclass (same asEither.of(r)) (#3) - Added example on reading local file using
TaskEither(read_write_file) - Added more examples
- Added constant constructors to Eq and variants, by mateusfccp (#4) π
0.0.5 20 June 2021 #
- Completed
Statetype implementation, documentation, and testing - Completed
Readertype implementation, documentation, and testing - Completed
IOtype implementation, documentation, and testing - Merged PR (#2) by jacobaraujo7 π
- Added
rightandleftfunctions to create instance ofEither - Added
idfunction (same asidentity) - Added
foldmethod toEither(same asmatch) - Added
bindmethod toEither(same asflatMap) - Added
bindFuturemethod toEither, which returnsTaskEither
- Added
0.0.4 15 June 2021 #
- Completed
Unittype documentation - Completed
Tasktype implementation, documentation, and testing - Completed
TaskEithertype implementation, documentation, and testing - Completed implementation, documentation, and testing of
Foldableinstance onOptionandEither[BREAKING CHANGE] - Completed
Tuple2type implementation, documentation, and testing [BREAKING CHANGE] - Renamed
foldmethod ofFoldabletofoldLeft[BREAKING CHANGE] - Updated methods API (
foldRight,foldLeft, etc.) ofFoldableinstances (Option,Either,Tuple) [BREAKING CHANGE] IListnot longer working correctly (waiting for a better solution for immutable collections) [BREAKING CHANGE]
0.0.3 13 June 2021 #
- Changed name of type
MaybetoOptionto be inline with fp-ts, cats, and dartz [BREAKING CHANGE]
0.0.2 13 June 2021 #
First major release:
Types #
EitherIListMaybeReaderStateTaskTaskEitherTupleUnit
Typeclasses #
AltApplicativeBandBoundedSemilatticeCommutativeGroupCommutativeMonoidCommutativeSemigroupEqExtendFilterableFoldableFunctorGroupHashHKTMonadMonoidOrderPartialOrderSemigroupSemilattice
Examples #
EithercurryMaybeReaderState
0.0.1 28 May 2021 #
EqHashPartialOrder



