Commit Graph

24 Commits

Author SHA1 Message Date
Erik Svedäng
4c8b661bdc Moved safe int functions into their own file that's not automatically loaded. 2018-03-06 16:44:07 +01:00
hellerve
01f366f2c8 core: remove interdependencies between modules 2018-02-27 15:10:42 +01:00
hellerve
b7ea8d1487 core: namespaced split-up carp headers 2018-02-27 15:08:39 +01:00
hellerve
f56b1ff93f core: split up core.h, installment 1 2018-02-27 15:08:36 +01:00
Erik Svedäng
9c7793d6d1 Undefine things until cl.exe can compile a Hello World program. 2018-02-12 14:34:17 +01:00
Erik Svedäng
26887f3716 Changed type signature of (set! ...) form. 2018-02-02 07:19:10 +01:00
Erik Svedäng
8281dfa109 Made inc, dec, max, min into interfaces. Changed Array.max/min to new
names. Fixed tests and removed special max/min from Statistics module.
2018-01-29 07:14:56 +01:00
Erik Svedäng
33aeab7c82 FIXED: Fails to find the correct Array.str when calling println* in a do-form. 2018-01-28 05:56:03 +01:00
Thomas Dendale
8d49d76279 Added clamp to Int too. Fixed random-between floating point exception when lower = upper.
Added Array.initialize, symbol? commands
2018-01-23 16:23:37 +01:00
hellerve
eba07aeb34 core: added numerical ref modules 2018-01-15 16:27:05 +01:00
hellerve
f93eb16615 core: add cmp interface; src: better sort 2018-01-15 16:10:11 +01:00
hellerve
7c9eaeac9f core: made format not leak memory; test: added test for format and fmt 2017-12-30 20:16:31 +01:00
hellerve
eccddd00fe format: added simple versions of format (work on issue #108) 2017-12-30 15:13:56 +01:00
Erik Svedäng
b0cdc65f4b Implemented 'add-ref' and 'zero' for Int/Float/Double. Allows nice 'Array.sum' function. 2017-12-04 07:21:35 +01:00
hellerve
fba4e8ba5e long & int: added binary arithmetic 2017-11-29 17:26:51 +01:00
hellerve
911076276e all: miscellaneous fixes 2017-11-29 15:28:21 +01:00
hellerve
b3d19ae9da int/long: added math functions 2017-11-17 12:26:01 +01:00
hellerve
40c19b138e int/long: added safe arithmetic 2017-11-16 21:19:39 +01:00
hellerve
631e2ab95f testing: added Test module 2017-10-23 16:07:54 +02:00
Erik Svedäng
b1f86624fb Allow &t instead of (Ref t) in type declarations. 2017-10-17 16:05:42 +02:00
Erik Svedäng
42874e6d57 Allow lambda ("λ") as an alias for Fn when defining types 2017-10-17 09:42:57 +02:00
Erik Svedäng
8cae7a7a3b A way to run all tests in one go. 2017-09-08 12:24:57 +02:00
Erik Svedäng
00cd8df5cf replicate & repeat generates deleter functions 2017-07-12 10:22:16 +02:00
Erik Svedäng
c80526cfaa REPLACE WITH HASKELL VERSION 2017-06-26 11:15:03 +02:00