Scalax
|
|
scalax/rules/StateReader.scala
]
trait
StateReader
extends
MonadsType Summary | |
abstract type
|
S |
Method Summary | |
abstract def
|
get : M[S] |
abstract def
|
read [A](f : (S) => A) : M[A] |
abstract def
|
set (s : => S) : M[S] |
abstract def
|
update (f : (S) => S) : M[S] |
Methods inherited from UnitFunctors | |
unit, unit |
Methods inherited from AnyRef | |
getClass, hashCode, equals, clone, toString, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized |
Methods inherited from Any | |
==, !=, isInstanceOf, asInstanceOf |
Type Details |
Method Details |
Scalax
|
|