crystal
crystal
crystal
ActionInterpreter
ActionInterpreterOpt
ComponentTypes
ComponentTypes
ComponentTypesForPlatform
Error
Pending
Pot
Pot
Ready
UnitMonadOps
ViewF
ViewF
ViewListF
ViewOps
ViewOptF
crystal.implicits
AnyOptionToPotOps
AnyToPotOps
OptionApplicativeUnitOps
PotCats
TryOptionToPotOps
TryToPotOps
throwable
crystal.react
ContextProvider
Backend
Ctx
FromStateView
Hold
Hold
StateProvider
Backend
StreamOps
StreamRenderer
StreamRendererBackend
StreamRendererMod
crystal.react.hooks
TimeoutHandle
UseDebouncedTimeout
HooksApiExt
Primary
Secondary
HooksApiExt
implicits
crystal.react.implicits
DefaultSToOps
EffectAOps
EffectUnitOps
ModMountedSimpleFOps
ModStateFOps
ModStateWithPropsFOps
PotRender
StateAccessorFOps
UseStateFOps
UseStateWithReuseFOps
ViewFModuleOps
ViewFReuseOps
crystal.react.reuse
AnyReuseOps
CurryingSyntax
Curried1
Curried2
Curried3
Fn1ReuseOps
Fn2ReuseOps
Fn3ReuseOps
Reuse
Reuse
AppliedBy
Tuple2ReuseOps
Tuple3ReuseOps
crystal
/
crystal
/
ViewOptF
ViewOptF
abstract
class
ViewOptF
[F[_], A](val get:
Option
[
A
], val modCB: (
A
=>
A
,
Option
[
A
] =>
F
[
Unit
]) =>
F
[
Unit
])(implicit evidence$3:
Monad
[
F
]) extends
ViewOps
[
F
,
Option
,
A
]
Graph
Supertypes
Self type
class
ViewOps
[
F
,
Option
,
A
]
class
Object
trait
Matchable
class
Any
ViewOptF
[
F
,
A
]
Value members
Value members
Concrete methods
def
as
[B](iso:
Iso
[
A
, B]):
ViewOptF
[
F
, B]
def
asList
:
ViewListF
[
F
,
A
]
override
def
toString
():
String
Definition Classes
Any
def
widen
[B >:
A
]:
ViewOptF
[
F
, B]
def
withOnMod
(f:
Option
[
A
] =>
F
[
Unit
]):
ViewOptF
[
F
,
A
]
def
zoom
[B](getB:
A
=> B)(modB: B => B =>
A
=>
A
):
ViewOptF
[
F
, B]
def
zoom
[B](lens:
Lens
[
A
, B]):
ViewOptF
[
F
, B]
def
zoom
[B](optional:
Optional
[
A
, B]):
ViewOptF
[
F
, B]
def
zoom
[B](prism:
Prism
[
A
, B]):
ViewOptF
[
F
, B]
def
zoom
[B](traversal:
Traversal
[
A
, B]):
ViewListF
[
F
, B]
def
zoomList
[B](getB:
A
=>
List
[B])(modB: B => B =>
A
=>
A
):
ViewListF
[
F
, B]
def
zoomOpt
[B](getB:
A
=>
Option
[B])(modB: B => B =>
A
=>
A
):
ViewOptF
[
F
, B]
Inherited methods
def
modAndGet
(f:
A
=>
A
)(implicit F:
Async
[
F
]):
F
[
Option
[
A
]]
Inherited from
ViewOps
Concrete fields
val
get
:
Option
[
A
]
val
modCB
: (
A
=>
A
,
Option
[
A
] =>
F
[
Unit
]) =>
F
[
Unit
]
Inherited fields
val
mod
:
A
=>
A
=>
F
[
Unit
]
Inherited from
ViewOps
val
set
:
A
=>
F
[
Unit
]
Inherited from
ViewOps
val
setCB
: (
A
,
Option
[
A
] =>
F
[
Unit
]) =>
F
[
Unit
]
Inherited from
ViewOps