> ## Documentation Index
> Fetch the complete documentation index at: https://docs.canton.network/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> If you are building a Canton Network application, start from https://docs.canton.network/appdev/quickstart.md. To run only a local network for your own Daml code, without building the QuickStart demo, see https://docs.canton.network/sdks-tools/development-tools/localnet.md.

# DA.Functor

> Reference documentation for Daml module DA.Functor.

Daml module

# DA.Functor

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

Daml

Module
DA.Functor

Latest release
3.7.5

## Functions

### `$>`

`$>` : [`Functor`](https://docs.canton.network/appdev/reference/daml-standard-library/prelude#class-ghc-base-functor-31205) `f` => `f` `a` -> `b` -> `f` `b`

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

### `<&>`

`<&>` : [`Functor`](https://docs.canton.network/appdev/reference/daml-standard-library/prelude#class-ghc-base-functor-31205) `f` => `f` `a` -> (`a` -> `b`) -> `f` `b`

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.

### `<$$>`

`<$$>` : ([`Functor`](https://docs.canton.network/appdev/reference/daml-standard-library/prelude#class-ghc-base-functor-31205) `f`, [`Functor`](https://docs.canton.network/appdev/reference/daml-standard-library/prelude#class-ghc-base-functor-31205) `g`) => (`a` -> `b`) -> `g` (`f` `a`) -> `g` (`f` `b`)

Nested `<$>`.

### `void`

`void` : [`Functor`](https://docs.canton.network/appdev/reference/daml-standard-library/prelude#class-ghc-base-functor-31205) `f` => `f` `a` -> `f` ()

Replace all the locations in the input with `()`.
