StateMonad<S> class
- Inheritance
-
- Mixed-in types
-
Properties
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
nothing
→ State<S, dynamic>
-
no setterinherited
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
ap<A, B>(State<S, dynamic> fa, State<S, dynamic> ff)
→ State<S, dynamic>
-
inherited
-
bind<A, B>(covariant State<S, A> fa, covariant Function1<A, State<S, B>> f)
→ State<S, B>
-
override
-
composeF(Functor G)
→ Functor<State<S, dynamic>>
-
inherited
-
get()
→ State<S, S>
-
-
gets<A>(A f(S s))
→ State<S, A>
-
-
join(State<S, dynamic> ffa)
→ State<S, dynamic>
-
inherited
-
map<A, B>(covariant State<S, A> fa, covariant B f(A a))
→ State<S, B>
-
override
-
modify(S f(S s))
→ State<S, Unit>
-
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
pure<A>(A a)
→ State<S, A>
-
override
-
put(S newS)
→ State<S, Unit>
-
-
strengthL<A, B>(State<S, dynamic> fa, B b)
→ State<S, dynamic>
-
inherited
-
strengthR<A, B>(State<S, dynamic> fa, B b)
→ State<S, dynamic>
-
inherited
-
toString()
→ String
-
A string representation of this object.
inherited