Commit Graph

44 Commits

Author SHA1 Message Date
Erik Svedäng
bcd4e6d298 Test for resolving correctly. 2018-06-13 11:59:13 +02:00
Erik Svedäng
669aca2b96 Added dynamic function 'Project.no-echo' to disable echoing in examples. 2018-06-05 10:05:33 +02:00
Chris Hall
7c1dd210d7 Renaming: String.count -> String.length, Array.count -> Array.length
Issue #236
2018-05-23 10:03:42 +10:00
Erik Svedäng
c93621b5de
Merge pull request #241 from hellerve/random
Add random module
2018-05-22 20:01:28 +02:00
hellerve
032249b342 core: add random module (referencing #227) 2018-05-22 19:34:38 +02:00
Erik Svedäng
707614e999
Merge pull request #232 from mkfifo/string-library-improvements
String library improvements
2018-05-22 19:10:22 +02:00
Chris Hall
b46b2a39e8 String.append is now by reference, StringCopy.append is by copy/linear
Adding memory leak tests to String.append and StringCopy.append

Issue #94
2018-05-20 14:16:10 +10:00
Chris Hall
24ae95bc65 Removing two buggy tests from example/basics.carp which were causing issue #227 2018-05-20 12:05:58 +10:00
hellerve
414451f2fa tests: add test script recording 2018-04-10 12:34:36 +02:00
Erik Svedäng
07878fc4a9 Nicer event handling with the help of 'foreach' macro and 'SDL.Event.all' function. 2018-03-24 11:17:56 +01:00
hellerve
890a2eab1e core: rename System.srand to System.seed-random 2018-02-27 15:12:25 +01:00
hellerve
01f366f2c8 core: remove interdependencies between modules 2018-02-27 15:10:42 +01:00
Erik Svedäng
26887f3716 Changed type signature of (set! ...) form. 2018-02-02 07:19:10 +01:00
Erik Svedäng
1d4c0777a0 This is hard... 2018-01-30 15:22:07 +01:00
Erik Svedäng
bc428034c2 Fixed bug with multiple multi-lookups (to the same function) in the same function definition. 2018-01-29 15:32:38 +01:00
Erik Svedäng
e55e63f4fe Moved around test code. 2018-01-28 06:17:23 +01:00
Erik Svedäng
936dd8b26c Changed type of member getter method to always returning a Ref (used to be non-ref for primitive types). 2018-01-26 21:23:29 +01:00
Erik Svedäng
fe427de36c Updated run_carp_tests.sh with added/deleted tests and examples. 2017-12-21 17:11:43 +01:00
Erik Svedäng
bcac17ceed Fixed some bugs with lookup of interface functions. 2017-11-24 14:15:16 +01:00
Erik Svedäng
8267208bf8 Threading macros work. 2017-10-18 22:44:15 +02:00
Erik Svedäng
c07ffc9629 Fixed memory bug with 'copy-map'. Updating-example works without leaks. 2017-10-18 13:29:31 +02:00
Erik Svedäng
2dbcfac61b Bunch of bug fixes and stuff. 2017-10-18 13:02:44 +02:00
Erik Svedäng
fa38b19c77 Doc. 2017-10-18 12:28:31 +02:00
Erik Svedäng
41dbd4ad1a Tests run again. 2017-10-17 22:40:46 +02:00
Erik Svedäng
7f57e49c36 Changed names of map-functions to 'copy-map' and 'endo-map'. 2017-10-17 16:54:00 +02:00
Erik Svedäng
a0f35a5543 Rewrote 'reduce' with carp instead of C. 2017-10-17 08:57:36 +02:00
Erik Svedäng
2e3759adf3 Changed signature for 'reduce'. 2017-10-17 08:23:50 +02:00
Erik Svedäng
09fc80599a Renamed some functions in Double and Float. 2017-10-13 16:11:23 +02:00
Erik Svedäng
b9f57a9511 Changed signature of 'Array.transform' function. 2017-10-13 13:44:27 +02:00
Erik Svedäng
bb367e284a Example of printing struct with array member. 2017-10-11 15:34:37 +02:00
Erik Svedäng
150dd68b3a Printing structs with array members work now too. 2017-10-11 15:31:09 +02:00
Erik Svedäng
d4f1910bce Added Bool module. Fixed error in test selection.carp 2017-10-11 10:52:18 +02:00
Erik Svedäng
b180dbbb2b A todo-file. 2017-10-10 13:20:59 +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
515bc03664 Changed string literals to be Ref:s. Fixed basics.carp, more to go... 2017-09-06 15:03:37 +02:00
Erik Svedäng
e37a3e679b s/import/use in carp files. 2017-09-06 10:05:19 +02:00
Erik Svedäng
3298fe3d32 set! takes a reference instead of just a variable 2017-07-13 13:08:45 +02:00
Erik Svedäng
571f46bd9d Give up on making range a template, was probably a bad idea... 2017-07-12 09:55:30 +02:00
Erik Svedäng
5ae8f36ee4 Fixing errors with references... 2017-07-06 13:29:13 +02:00
Erik Svedäng
b402d6cce1 Can sort constraints (not doing it yet though) 2017-07-04 15:11:08 +02:00
Erik Svedäng
caaa4d99c3 Basics example work again. 2017-06-30 14:21:31 +02:00
Erik Svedäng
1c6846729d refstr-macro 2017-06-29 17:05:34 +02:00
Erik Svedäng
29ab0c8513 Endofunctor map. 2017-06-29 16:58:27 +02:00
Erik Svedäng
c80526cfaa REPLACE WITH HASKELL VERSION 2017-06-26 11:15:03 +02:00