implicit final class HaskellStyleMap[-A, +B] extends AnyVal
This class exposes the <#>
combinator on functions.
This extension class operates on functions. It enables the use of
the <#>
combinator, which is an alias for map
designed to more
closely mimic Haskell's style.
- Source
- extension.scala
- Version
4.0.0
- Alphabetic
- By Inheritance
- HaskellStyleMap
- AnyVal
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new HaskellStyleMap(f: (A) => B)
This constructor should not be called manually, it is designed to be used via Scala's implicit resolution.
This constructor should not be called manually, it is designed to be used via Scala's implicit resolution.
- f
the function that is used for the map.
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- Any
- final def ##: Int
- Definition Classes
- Any
- def <#>(p: Parsley[A]): Parsley[B]
This combinator maps this function over the given parser
p
to alter its result.This combinator maps this function over the given parser
p
to alter its result.- See also
- final def ==(arg0: Any): Boolean
- Definition Classes
- Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def getClass(): Class[_ <: AnyVal]
- Definition Classes
- AnyVal → Any
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def toString(): String
- Definition Classes
- Any