2019-08-13 19:23:03 +03:00
|
|
|
.. Copyright (c) 2019 The DAML Authors. All rights reserved.
|
2019-04-04 11:33:38 +03:00
|
|
|
.. SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
|
|
|
.. _stdlib-reference-base:
|
|
|
|
|
2019-05-13 21:24:18 +03:00
|
|
|
The standard library
|
|
|
|
====================
|
2019-04-04 11:33:38 +03:00
|
|
|
|
2019-05-13 21:24:18 +03:00
|
|
|
The DAML standard library is a collection of DAML modules that can be used to implement concrete applications.
|
|
|
|
|
|
|
|
Usage
|
|
|
|
*****
|
|
|
|
|
|
|
|
The standard library is included in the DAML compiler so it can
|
|
|
|
be used straight out of the box. You can import modules from the standard library just like your own, for example:
|
|
|
|
|
|
|
|
.. code-block:: daml
|
|
|
|
|
|
|
|
import DA.Optional
|
|
|
|
import DA.Time
|
2019-07-26 15:45:06 +03:00
|
|
|
|
2019-08-02 16:52:38 +03:00
|
|
|
{{{body}}}
|