plfp 1.0.0
SDKdartflutter
Platformandroidioswindowslinuxmacosweb
Functional programming and some other utils
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 toEither<L, R>, but has left being assigned to value and right assigned to error. This is similar to theResultin rust, but diffferent from the convention indartz;ServiceStore: a service locator similar to the oneGetItorGet;
Getting started
Just add this to the pubspec and then use the things.
Usage
const like = 'sample';