From 92e55d843d0aef437d837166891e9edc59757553 Mon Sep 17 00:00:00 2001 From: "Mike D. Lowis" Date: Thu, 15 Mar 2012 14:17:54 -0400 Subject: [PATCH] Updated type sections in the language spec --- LANGUAGE.markdown | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/LANGUAGE.markdown b/LANGUAGE.markdown index 89a05e8..cdcd49b 100644 --- a/LANGUAGE.markdown +++ b/LANGUAGE.markdown @@ -35,12 +35,34 @@ Here are some examples for defining numbers: -4.0e-3 #### Characters + + 'A' + #### Symbols + + $some_symbol + #### Boolean Values + True + False + Nil + ### Collections #### Lists + + () # An empty list + (1) # This is NOT a list. This evaluates to 1 + (1, 2) # A list with two numbers + ('a', 1) # A list with two elements of different types + #### Vectors + + [] # An empty vector + [1] # A vector with on element + [1, 2] # A vector with two number elements + ['a', 1] # A vector with two elements of different types + #### Maps #### Strings @@ -51,6 +73,8 @@ Here are some examples for defining numbers: ### Streams +A Work In Progress + Operations and Operators ---------------------------------------------- @@ -77,6 +101,8 @@ A Work In Progress Modules ---------------------------------------------- +A Work In Progress + Macros ---------------------------------------------- -- 2.52.0