crystal
crystal
crystal
Pot
Pot
Error
Pending
Ready
PotOption
PotOption
Error
Pending
ReadyNone
ReadySome
UnitMonadOps
ViewF
ViewF
ViewListF
ViewOps
ViewOptF
crystal.implicits
AnyOptionToPotOps
AnyToPotOps
OptionApplicativeUnitOps
PotCats
PotOptionCats
TryOptionToPotOps
TryToPotOps
throwable
crystal
/
crystal
/
Pot
Pot
object
Pot
Companion:
class
Graph
Supertypes
Self type
trait
Sum
trait
Mirror
class
Object
trait
Matchable
class
Any
Pot
.type
Type members
Value members
Type members
Classlikes
final case
class
Error
(
t:
Throwable
)
extends
Pot
[
Nothing
]
case
object
Pending
extends
Pot
[
Nothing
]
final case
class
Ready
[
+
A
](
value:
A
)
extends
Pot
[
A
]
Inherited types
type
MirroredElemLabels
<:
Tuple
The names of the product elements
The names of the product elements
Inherited from:
Mirror
type
MirroredLabel
<:
String
The name of the type
The name of the type
Inherited from:
Mirror
Value members
Concrete methods
def
apply
[
A
](
a:
A
):
Pot
[
A
]
def
error
[
A
](
t:
Throwable
):
Pot
[
A
]
def
errorPrism
[
A
]:
Prism
[
Pot
[
A
],
Throwable
]
def
fromOption
[
A
](
po:
PotOption
[
A
]):
Pot
[
A
]
def
fromOption
[
A
](
opt:
Option
[
A
]):
Pot
[
A
]
def
fromOptionTry
[
A
](
trOpt:
Option
[
Try
[
A
]]):
Pot
[
A
]
def
fromTry
[
A
](
tr:
Try
[
A
]):
Pot
[
A
]
def
pending
[
A
]:
Pot
[
A
]
def
readyPrism
[
A
]:
Prism
[
Pot
[
A
],
A
]