mirror of
https://github.com/digital-asset/daml.git
synced 2024-09-20 09:17:43 +03:00
ab93435442
* One module per page in stdlib docs. changelog_begin - [DAML Docs] The standard library docs have been split up per module. changelog_end * Adjust stdlib annotations * Update compiler/damlc/daml-stdlib-src/DA/Generics.daml Co-Authored-By: Moritz Kiefer <moritz.kiefer@purelyfunctional.org> * Update compiler/damlc/base-rst-index-template.rst Co-Authored-By: Moritz Kiefer <moritz.kiefer@purelyfunctional.org> * Move to daml/stdlib * Update daml-doc tests * Remove the Module prefix in the index/toctree Co-authored-by: Moritz Kiefer <moritz.kiefer@purelyfunctional.org>
21 lines
677 B
ReStructuredText
21 lines
677 B
ReStructuredText
.. Copyright (c) 2020 Digital Asset (Switzerland) GmbH and/or its affiliates. All rights reserved.
|
|
.. SPDX-License-Identifier: Apache-2.0
|
|
|
|
.. _stdlib-reference-base:
|
|
|
|
The standard library
|
|
====================
|
|
|
|
The DAML standard library is a collection of DAML modules that are bundled with the DAML SDK, and can be used to implement DAML applications.
|
|
|
|
The :ref:`Prelude <module-prelude-6842>` module is imported automatically in every DAML module. Other modules must be imported manually, just like your own project's modules. For example:
|
|
|
|
.. code-block:: daml
|
|
|
|
import DA.Optional
|
|
import DA.Time
|
|
|
|
Here is a complete list of modules in the standard library:
|
|
|
|
{{{body}}}
|