Skip to main content

DA.Functor

The Functor class is used for types that can be mapped over.

Module Snapshot

Lifecycle

Stable.

Notices

Status: active Introduced in: 3.4.9 Removed in: - Warnings: 0 Deprecations: 0 Deprecated since: -

Functions

$>

Replace all locations in the input (on the left) with the given value (on the right).

<&>

Map a function over a functor. Given a value as and a function f, as <&> f is f <$> as. That is, <&> is like <$> but the arguments are in reverse order.

<$$>

Nested <$>.

void

Replace all the locations in the input with ().