scalaz
.
example
FreeCoyoUsage
object
FreeCoyoUsage
extends
App
Source
FreeCoyoUsage.scala
Linear Supertypes
App
,
DelayedInit
, AnyRef,
Any
Ordering
Alphabetic
By inheritance
Inherited
Hide All
Show all
FreeCoyoUsage
App
DelayedInit
AnyRef
Any
Visibility
Public
All
Type Members
type
RandomReader
[
A
]
= (
Random
) ⇒ A
type
Rng
[
A
]
=
Free
[[x]
Coyoneda
[
RngOp
, x], A]
sealed
trait
RngOp
[
A
]
extends AnyRef
final
class
RngOps
[
A
]
extends AnyRef
Value Members
final
def
!=
(
arg0: AnyRef
)
:
Boolean
Definition Classes
AnyRef
final
def
!=
(
arg0:
Any
)
:
Boolean
Definition Classes
Any
final
def
##
()
:
Int
Definition Classes
AnyRef → Any
final
def
==
(
arg0: AnyRef
)
:
Boolean
Definition Classes
AnyRef
final
def
==
(
arg0:
Any
)
:
Boolean
Definition Classes
Any
implicit
val
MonadRng
:
Monad
[Rng]
object
RngOp
extends AnyRef
implicit
def
ToRngOps
[
A
]
(
ma: Rng[A]
)
:
RngOps
[A]
def
args
:
Array
[String]
Attributes
protected
Definition Classes
App
final
def
asInstanceOf
[
T0
]
: T0
Definition Classes
Any
def
choose
[
A
]
(
h: A
,
tl: A*
)
:
Free
[[x]
Coyoneda
[
RngOp
, x], A]
def
clone
()
: AnyRef
Attributes
protected[
lang
]
Definition Classes
AnyRef
Annotations
@throws
()
def
delayedInit
(
body: ⇒
Unit
)
:
Unit
Definition Classes
App → DelayedInit
final
def
eq
(
arg0: AnyRef
)
:
Boolean
Definition Classes
AnyRef
def
equals
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
val
executionStart
:
Long
Definition Classes
App
def
finalize
()
:
Unit
Attributes
protected[
lang
]
Definition Classes
AnyRef
Annotations
@throws
()
final
def
getClass
()
: java.lang.Class[_]
Definition Classes
AnyRef → Any
def
hashCode
()
:
Int
Definition Classes
AnyRef → Any
final
def
isInstanceOf
[
T0
]
:
Boolean
Definition Classes
Any
def
main
(
args:
Array
[String]
)
:
Unit
Definition Classes
App
final
def
ne
(
arg0: AnyRef
)
:
Boolean
Definition Classes
AnyRef
val
nextBoolean
: FreeC[
RngOp
,
Boolean
]
val
nextDouble
: FreeC[
RngOp
,
Double
]
val
nextFloat
: FreeC[
RngOp
,
Float
]
val
nextGaussian
: FreeC[
RngOp
,
Double
]
val
nextInt
: FreeC[
RngOp
,
Int
]
def
nextIntInRange
(
max:
Int
)
: FreeC[
RngOp
,
Int
]
val
nextLong
: FreeC[
RngOp
,
Long
]
def
nextNonNegativeInt
:
Free
[[x]
Coyoneda
[
RngOp
, x],
Int
]
val
nextPrintableChar
: FreeC[
RngOp
,
Char
]
def
nextString
(
length:
Int
)
: FreeC[
RngOp
, String]
final
def
notify
()
:
Unit
Definition Classes
AnyRef
final
def
notifyAll
()
:
Unit
Definition Classes
AnyRef
val
prog
: Rng[(
Int
,
Int
, String)]
def
runRng
[
A
]
(
program: Rng[A]
,
seed:
Long
)
: A
def
setSeed
(
seed:
Long
)
: FreeC[
RngOp
,
Unit
]
final
def
synchronized
[
T0
]
(
arg0: ⇒ T0
)
: T0
Definition Classes
AnyRef
val
toState
: ~>[
RngOp
, RandomReader]
def
toString
()
:
String
Definition Classes
AnyRef → Any
final
def
wait
()
:
Unit
Definition Classes
AnyRef
Annotations
@throws
()
final
def
wait
(
arg0:
Long
,
arg1:
Int
)
:
Unit
Definition Classes
AnyRef
Annotations
@throws
()
final
def
wait
(
arg0:
Long
)
:
Unit
Definition Classes
AnyRef
Annotations
@throws
()
Inherited from
App
Inherited from
DelayedInit
Inherited from AnyRef
Inherited from
Any