plfp

Last updated:

0 purchases

plfp Image
plfp Images
Add to Cart

Description:

plfp

A utils package containing some functional programming utils.
TODOs #

❌ add tests
❌ add docs

Features #

Either<L, R>: a value that can be either left or right;
Lazy<T>: a lazily evaluated value;
Optional<T>: an optional value;
Result<V, E>: the result value, similar to Either<L, R>, but has left
being assigned to value and right assigned to error. This is similar to the
Result in rust, but diffferent from the convention in dartz;
ServiceStore: a service locator similar to the one GetIt or Get;

Getting started #
Just add this to the pubspec and then use the things.
Usage #
const like = 'sample';
copied to clipboard
Additional information #

License:

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.