scalaz
ListT
sealed
case class
ListT
[
M
[
+_
]
,
+A
]
(
underlying:
M
[
List
[
A
]]
)
extends
Product
with
Serializable
ListT monad transformer.
Source
ListT.scala
Linear Supertypes
Serializable
,
Serializable
,
Product
,
Equals
,
AnyRef
,
Any
Ordering
Alphabetic
By inheritance
Inherited
ListT
Serializable
Serializable
Product
Equals
AnyRef
Any
Hide All
Show all
Learn more about member selection
Visibility
Public
All
Instance Constructors
new
ListT
(
underlying:
M
[
List
[
A
]]
)
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
def
++
[
B >:
A
]
(
bs: ⇒
ListT
[
M
,
B
]
)
(
implicit
M:
Bind
[
M
]
)
:
ListT
[
M
,
B
]
def
::
[
AA >:
A
]
(
a:
AA
)
(
implicit
M:
Functor
[
M
]
)
:
ListT
[
M
,
AA
]
final
def
==
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
final
def
==
(
arg0:
Any
)
:
Boolean
Definition Classes
Any
final
def
asInstanceOf
[
T0
]
:
T0
Definition Classes
Any
def
clone
()
:
AnyRef
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
...
)
def
drop
(
n:
Int
)
(
implicit
M:
Functor
[
M
]
)
:
ListT
[
M
,
A
]
def
dropWhile
(
p: (
A
) ⇒
Boolean
)
(
implicit
M:
Functor
[
M
]
)
:
ListT
[
M
,
A
]
final
def
eq
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
def
filter
(
p: (
A
) ⇒
Boolean
)
(
implicit
M:
Functor
[
M
]
)
:
ListT
[
M
,
A
]
def
finalize
()
:
Unit
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
classOf[java.lang.Throwable]
)
def
flatMap
[
B
]
(
f: (
A
) ⇒
ListT
[
M
,
B
]
)
(
implicit
M:
Monad
[
M
]
)
:
ListT
[
M
,
B
]
def
foldLeft
[
B
]
(
z: ⇒
B
)
(
f: (⇒
B
, ⇒
A
) ⇒
B
)
(
implicit
M:
Functor
[
M
]
)
:
M
[
B
]
def
foldRight
[
B
]
(
z: ⇒
B
)
(
f: (⇒
A
, ⇒
B
) ⇒
B
)
(
implicit
M:
Functor
[
M
]
)
:
M
[
B
]
final
def
getClass
()
:
Class
[_]
Definition Classes
AnyRef → Any
def
head
(
implicit
M:
Functor
[
M
]
)
:
M
[
A
]
def
headOption
(
implicit
M:
Functor
[
M
]
)
:
M
[
Option
[
A
]]
def
isEmpty
(
implicit
M:
Functor
[
M
]
)
:
M
[
Boolean
]
final
def
isInstanceOf
[
T0
]
:
Boolean
Definition Classes
Any
def
length
(
implicit
M:
Functor
[
M
]
)
:
M
[
Int
]
def
map
[
B
]
(
f: (
A
) ⇒
B
)
(
implicit
M:
Functor
[
M
]
)
:
ListT
[
M
,
B
]
final
def
ne
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
final
def
notify
()
:
Unit
Definition Classes
AnyRef
final
def
notifyAll
()
:
Unit
Definition Classes
AnyRef
final
def
synchronized
[
T0
]
(
arg0: ⇒
T0
)
:
T0
Definition Classes
AnyRef
def
tail
(
implicit
M:
Functor
[
M
]
)
:
ListT
[
M
,
A
]
Don't use iteratively!
def
tailM
(
implicit
M:
Applicative
[
M
]
)
:
M
[
ListT
[
M
,
A
]]
def
take
(
n:
Int
)
(
implicit
M:
Functor
[
M
]
)
:
ListT
[
M
,
A
]
def
takeWhile
(
p: (
A
) ⇒
Boolean
)
(
implicit
M:
Functor
[
M
]
)
:
ListT
[
M
,
A
]
def
toList
()
:
M
[
List
[
A
]]
def
uncons
(
implicit
M:
Applicative
[
M
]
)
:
M
[
Option
[(
A
,
ListT
[
M
,
A
])]]
val
underlying
:
M
[
List
[
A
]]
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
Serializable
Inherited from
Serializable
Inherited from
Product
Inherited from
Equals
Inherited from
AnyRef
Inherited from
Any
Ungrouped
ListT monad transformer.