Update language spec with the NULL empty type.

This commit is contained in:
Jeremy Wall 2018-03-17 09:17:51 -05:00
parent a7b214a9af
commit 141385920a

View File

@ -54,6 +54,7 @@
//! * select //! * select
//! * macro //! * macro
//! * env //! * env
//! * NULL
//! //!
//! ### Primitive types //! ### Primitive types
//! //!
@ -81,6 +82,12 @@
//! "I'm a \"fine\" looking string"; // escaped quotes in a string. //! "I'm a \"fine\" looking string"; // escaped quotes in a string.
//! ``` //! ```
//! //!
//! * A NULL is an empty type. It represents no value.
//!
//! ```ucg
//! let empty = NULL;
//! ```
//!
//! ### Complex types //! ### Complex types
//! //!
//! ucg has two complex data types, Lists and Tuples. //! ucg has two complex data types, Lists and Tuples.