aboutsummaryrefslogtreecommitdiff
path: root/source/program.lux
diff options
context:
space:
mode:
authorEduardo Julian2015-07-31 20:33:29 -0400
committerEduardo Julian2015-07-31 20:33:29 -0400
commitc9e0b6c3a0c23b34cd6ffac1b93a266ae6243c4a (patch)
treefaf96e94ba0bf7dd762e2af05662fc24c8d90690 /source/program.lux
parent3b0b7de8d898662ba154aa8cbd578d26fb91e62e (diff)
- Did some refactoring of the standard library.
- Introduced 2 new modules: lux/data/tuple & lux/codata/function - Now doing safe reading of files. - Took the "let", "lambda" & "def" macros to their ultimate form. - Added some macros for doing better JVM interop. - Fixed a bug when compiling comparisons for doubles. - Changed the order in which arguments are compiled for all arithmetic operations, as the order is reversed (from the conventional order) in the JVM bytecode.
Diffstat (limited to '')
-rw-r--r--source/program.lux31
1 files changed, 17 insertions, 14 deletions
diff --git a/source/program.lux b/source/program.lux
index 086506725..b9f737480 100644
--- a/source/program.lux
+++ b/source/program.lux
@@ -7,31 +7,34 @@
## You must not remove this notice, or any other, from this software.
(;import lux
- (lux (codata (stream #as S))
- (control monoid
+ (lux (control monoid
functor
monad
- lazy
- comonad)
+ comonad
+ bounded
+ dict
+ eq
+ ord
+ show
+ number)
(data bool
- bounded
char
- ## cont
- dict
(either #as e)
- eq
error
id
io
list
maybe
- number
- ord
- (reader #as r)
- show
- state
+ (number int
+ real)
(text #as t #open ("text:" Text/Monoid))
- writer)
+ writer
+ tuple)
+ (codata (stream #as S)
+ lazy
+ function
+ (reader #as r)
+ state)
(host jvm)
(meta lux
macro