aboutsummaryrefslogtreecommitdiff
path: root/source/program.lux
diff options
context:
space:
mode:
authorEduardo Julian2015-09-06 01:03:19 -0400
committerEduardo Julian2015-09-06 01:03:19 -0400
commit455018ec68f2c127db489048351bc48f3982fe23 (patch)
treeeeedcea7b210e4c12ccdedf4fec448e23686aabc /source/program.lux
parent9acccd0847d6bb28e706223439eb44e5a3fe9aff (diff)
- Expanded the standard library.
- Fixed some minor bugs. - Added the updated code for the parser (forgot to add it to a previous commit).
Diffstat (limited to 'source/program.lux')
-rw-r--r--source/program.lux5
1 files changed, 3 insertions, 2 deletions
diff --git a/source/program.lux b/source/program.lux
index 69b9e811d..140710a4a 100644
--- a/source/program.lux
+++ b/source/program.lux
@@ -13,7 +13,8 @@
hash
(ord #as O)
(show #as S)
- number)
+ number
+ enum)
(data bool
char
(either #as e)
@@ -21,7 +22,7 @@
io
list
maybe
- (number (int #refer (#only))
+ (number (int #refer (#only) #open ("i:" Int/Show))
(real #refer (#only)))
(text #refer (#only <>) #open ("text:" Text/Monoid))
(writer #refer (#only))