StateGetterOps

@deprecated("no replacement", since = "3.0.0-M1") final class StateGetterOps[S, A](getter: Getter[S, A]) extends AnyVal
Deprecated
[Since version 3.0.0-M1]
Source
StateGetterSyntax.scala
class AnyVal
trait Matchable
class Any

Value members

Deprecated methods

@deprecated("no replacement", since = "3.0.0-M1")
def extract: State[S, A]

extracts the value viewed through the getter

extracts the value viewed through the getter

Deprecated
[Since version 3.0.0-M1]
Source
StateGetterSyntax.scala
@deprecated("no replacement", since = "3.0.0-M1")
def extracts[B](f: A => B): State[S, B]

extracts the value viewed through the getter and applies f over it

extracts the value viewed through the getter and applies f over it

Deprecated
[Since version 3.0.0-M1]
Source
StateGetterSyntax.scala
@deprecated("no replacement", since = "3.0.0-M1")
def st: State[S, A]

alias for toState

alias for toState

Deprecated
[Since version 3.0.0-M1]
Source
StateGetterSyntax.scala
@deprecated("no replacement", since = "3.0.0-M1")
def toState: State[S, A]

transforms a Getter into a State

transforms a Getter into a State

Deprecated
[Since version 3.0.0-M1]
Source
StateGetterSyntax.scala