> ## 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.

# Overview

> Reference documentation for Daml Standard Library modules.

Daml Reference

# Daml Standard Library

Current Daml Standard Library modules generated from versioned docs JSON snapshots.

Daml

[Added 3.6.0](#history-added-3-6-0)

[Updated 3.7.0](#history-updated-3-7-0)

[Deprecated 3.4.9](#history-deprecated-3-4-9)

Latest release
3.7.5

Versions
24

Current modules
38

## Modules

[DA.Action](https://docs.canton.network/appdev/reference/daml-standard-library/da-action.md)

Daml

Action

[DA.Action.State](https://docs.canton.network/appdev/reference/daml-standard-library/da-action-state.md)

Daml

DA.Action.State

[DA.Action.State.Class](https://docs.canton.network/appdev/reference/daml-standard-library/da-action-state-class.md)

Daml

DA.Action.State.Class

[DA.Assert](https://docs.canton.network/appdev/reference/daml-standard-library/da-assert.md)

Daml

\-

[DA.Bifunctor](https://docs.canton.network/appdev/reference/daml-standard-library/da-bifunctor.md)

Daml

\-

[DA.ContractKeys](https://docs.canton.network/appdev/reference/daml-standard-library/da-contractkeys.md)

Daml

Added 3.5.1

Note: Docs TODO ([https://github.com/digital-asset/daml/issues/22673](https://github.com/digital-asset/daml/issues/22673))

[DA.Crypto.Text](https://docs.canton.network/appdev/reference/daml-standard-library/da-crypto-text.md)

Daml

Updated 3.5.1

Functions for working with Crypto builtins.

[DA.Date](https://docs.canton.network/appdev/reference/daml-standard-library/da-date.md)

Daml

Updated 3.5.1

This module provides a set of functions to manipulate Date values.

[DA.Either](https://docs.canton.network/appdev/reference/daml-standard-library/da-either.md)

Daml

The Either type represents values with two possibilities.

[DA.Exception](https://docs.canton.network/appdev/reference/daml-standard-library/da-exception.md)

Daml

Deprecated 3.4.9

Exception handling in Daml.

[DA.ExternalCall](https://docs.canton.network/appdev/reference/daml-standard-library/da-externalcall.md)

Daml

Added 3.6.0

\-

[DA.Fail](https://docs.canton.network/appdev/reference/daml-standard-library/da-fail.md)

Daml

Updated 3.5.1

Fail, for FailureStatus

[DA.Foldable](https://docs.canton.network/appdev/reference/daml-standard-library/da-foldable.md)

Daml

Class of data structures that can be folded to a summary value.

[DA.Functor](https://docs.canton.network/appdev/reference/daml-standard-library/da-functor.md)

Daml

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

[DA.Internal.Interface.AnyView](https://docs.canton.network/appdev/reference/daml-standard-library/da-internal-interface-anyview.md)

Daml

\-

[DA.Internal.Interface.AnyView.Types](https://docs.canton.network/appdev/reference/daml-standard-library/da-internal-interface-anyview-types.md)

Daml

\-

[DA.List](https://docs.canton.network/appdev/reference/daml-standard-library/da-list.md)

Daml

List

[DA.List.BuiltinOrder](https://docs.canton.network/appdev/reference/daml-standard-library/da-list-builtinorder.md)

Daml

Note: This is only supported in Daml-LF 1.11 or later.

[DA.List.Total](https://docs.canton.network/appdev/reference/daml-standard-library/da-list-total.md)

Daml

\-

[DA.Logic](https://docs.canton.network/appdev/reference/daml-standard-library/da-logic.md)

Daml

Logic - Propositional calculus.

[DA.Map](https://docs.canton.network/appdev/reference/daml-standard-library/da-map.md)

Daml

Note: This is only supported in Daml-LF 1.11 or later.

[DA.Math](https://docs.canton.network/appdev/reference/daml-standard-library/da-math.md)

Daml

Math - Utility Math functions for Decimal

[DA.Monoid](https://docs.canton.network/appdev/reference/daml-standard-library/da-monoid.md)

Daml

\-

[DA.NonEmpty](https://docs.canton.network/appdev/reference/daml-standard-library/da-nonempty.md)

Daml

Updated 3.6.0

Type and functions for non-empty lists. This module re-exports many functions with

[DA.NonEmpty.Types](https://docs.canton.network/appdev/reference/daml-standard-library/da-nonempty-types.md)

Daml

Updated 3.5.1

This module contains the type for non-empty lists so we can give it a stable package id.

[DA.Numeric](https://docs.canton.network/appdev/reference/daml-standard-library/da-numeric.md)

Daml

\-

[DA.Optional](https://docs.canton.network/appdev/reference/daml-standard-library/da-optional.md)

Daml

Updated 3.5.1

The Optional type encapsulates an optional value. A value of type

[DA.Record](https://docs.canton.network/appdev/reference/daml-standard-library/da-record.md)

Daml

Exports the record machinery necessary to allow one to annotate

[DA.Semigroup](https://docs.canton.network/appdev/reference/daml-standard-library/da-semigroup.md)

Daml

\-

[DA.Set](https://docs.canton.network/appdev/reference/daml-standard-library/da-set.md)

Daml

Updated 3.5.1

Note: This is only supported in Daml-LF 1.11 or later.

[DA.Stack](https://docs.canton.network/appdev/reference/daml-standard-library/da-stack.md)

Daml

\-

[DA.Text](https://docs.canton.network/appdev/reference/daml-standard-library/da-text.md)

Daml

Functions for working with Text.

[DA.TextMap](https://docs.canton.network/appdev/reference/daml-standard-library/da-textmap.md)

Daml

TextMap - A map is an associative array data type composed of a

[DA.Time](https://docs.canton.network/appdev/reference/daml-standard-library/da-time.md)

Daml

Updated 3.5.1

This module provides a set of functions to manipulate Time values.

[DA.Traversable](https://docs.canton.network/appdev/reference/daml-standard-library/da-traversable.md)

Daml

Class of data structures that can be traversed from left to right, performing an action on each element.

[DA.Tuple](https://docs.canton.network/appdev/reference/daml-standard-library/da-tuple.md)

Daml

Tuple - Ubiquitous functions of tuples.

[DA.Validation](https://docs.canton.network/appdev/reference/daml-standard-library/da-validation.md)

Daml

Updated 3.5.1

Validation type and associated functions.

[Prelude](https://docs.canton.network/appdev/reference/daml-standard-library/prelude.md)

Daml

Updated 3.7.0

The pieces that make up the Daml language.

## History

Updated
`3.7.0`

Prelude: Module declarations or documentation updated.

Updated
`3.6.0`

DA.NonEmpty: Module declarations or documentation updated.

Added
`3.6.0`

DA.ExternalCall

Updated
`3.5.1`

DA.Crypto.Text: Module declarations or documentation updated.

DA.Date: Module declarations or documentation updated.

DA.Fail: Module declarations or documentation updated.

DA.NonEmpty.Types: Module declarations or documentation updated.

DA.Optional: Module declarations or documentation updated.

DA.Set: Module declarations or documentation updated.

DA.Time: Module declarations or documentation updated.

DA.Validation: Module declarations or documentation updated.

Prelude: Module declarations or documentation updated.

Added
`3.5.1`

DA.ContractKeys

Deprecated
`3.4.9`

DA.Exception
