HaskellStyleMap

parsley.syntax.HaskellStyleMap
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.

Attributes

Source
extension.scala
Graph
Supertypes
class AnyVal
trait Matchable
class Any

Members list

Value members

Concrete methods

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.

Attributes

See also

map

Source
extension.scala