Initial commit

This commit is contained in:
Peter Niederwieser
2016-01-19 14:51:19 +01:00
committed by Dan Chao
commit ecad035dca
2972 changed files with 211653 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
= Standard Library
include::../partials/component-attributes.adoc[]
The standard library is a set of Pkl modules, versioned and distributed together with the language.
It is documented in the link:{uri-pkl-stdlib-docs-index}[API Docs].
To import a standard library module, use `import "pkl:<identifier>"`.
For example, `import "pkl:json"` imports the `pkl.json` module.
The `pkl.base` module defines the most fundamental properties, methods, and classes for using Pkl.
Its members are automatically available in every module and hence, it does not need to be imported.
The default module allowlist (`--allowed-modules`) grants access to all standard library modules.