Scala Library
|
|
scala/util/parsing/ast/Mappable.scala
]
trait
Mappable
extends
AnyRefThis trait provides the core Scrap-Your-Boilerplate abstractions as well as implementations for common datatypes.
Based on Ralph Laemmel's SYB papers.
Method Summary | |
implicit def
|
ListIsMappable
[t](xs : List[t])(implicit evidence$3 : (t) => Mappable[t]) : Mappable[List[t]]
|
implicit def
|
OptionIsMappable
[t](xs : Option[t])(implicit evidence$4 : (t) => Mappable[t]) : Mappable[Option[t]]
|
implicit def
|
StringIsMappable (s : java.lang.String) : Mappable[java.lang.String] |
Methods inherited from AnyRef | |
getClass, hashCode, equals, clone, toString, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized |
Methods inherited from Any | |
==, !=, isInstanceOf, asInstanceOf |
Class Summary | |
trait
|
Mappable
[T] extends AnyRef
|
trait
|
Mapper
extends AnyRef
|
Method Details |
implicit
def
StringIsMappable(s : java.lang.String) : Mappable[java.lang.String]
implicit
def
ListIsMappable[t](xs : List[t])(implicit
evidence$3 : (t) => Mappable[t]) : Mappable[List[t]]
implicit
def
OptionIsMappable[t](xs : Option[t])(implicit
evidence$4 : (t) => Mappable[t]) : Mappable[Option[t]]
Scala Library
|
|