Commit Graph

1089 Commits

Author SHA1 Message Date
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
dc83ef1f36 Bugs with foreach macro... :( 2017-10-17 09:25:30 +02:00
Erik Svedäng
2237b955aa Quote reader macro. 2017-10-17 09:02:12 +02:00
Erik Svedäng
a0f35a5543 Rewrote 'reduce' with carp instead of C. 2017-10-17 08:57:36 +02:00
Erik Svedäng
09fc80599a Renamed some functions in Double and Float. 2017-10-13 16:11:23 +02:00
Erik Svedäng
cebc0a98d9 Modules explained. 2017-10-13 16:04:06 +02:00
Erik Svedäng
b1819ef259 Started working on a slide show presentation. 2017-10-13 15:07:34 +02:00
Erik Svedäng
6bf7bf453d Put foreach macro into the Array module. 2017-10-13 13:50:15 +02:00
Erik Svedäng
49b13592fb foreach-macro 2017-10-13 13:48:40 +02:00
Erik Svedäng
aee6e713b3 Removed left-over trace. 2017-10-13 12:48:18 +02:00
Erik Svedäng
57f1c401a9 Documentation for Array functions in Array.carp 2017-10-12 21:27:36 +02:00
Erik Svedäng
cba677ee89 Range function works again. 2017-10-12 20:13:53 +02:00
Erik Svedäng
46681f4cd5 Print strings with @ in front of them. 2017-10-12 08:38:53 +02:00
Erik Svedäng
68c58f149d Can generate str functions for arrays of primitives and of other arrays. 2017-10-11 15:19:36 +02:00
Erik Svedäng
6083d17b84 Getting there... 2017-10-11 15:13:40 +02:00
Erik Svedäng
07a9c1d6f6 Can print an array of structs. 2017-10-11 14:48:07 +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
8573098dca str-function generated for structs 2017-10-10 20:13:58 +02:00
Erik Svedäng
65d17b732c Tweaks to the memory logger. Also, replicate now takes a reference. 2017-09-29 14:54:49 +02:00
Erik Svedäng
b17780aa79 Fixed bugs in replicate and with nameofpolymorphicfunction. 2017-09-29 14:07:42 +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
3308652c75 Use the type (Ptr Char) to express raw C strings. 2017-09-07 19:44:02 +02:00
Erik Svedäng
9781c5f7cb Fixed all examples after changing string literals to refs. 2017-09-07 18:55:43 +02:00
Erik Svedäng
9f6418022f Better error messages for weird types in typedef. 2017-09-05 11:32:32 +02:00
Erik Svedäng
271756de57 Missing text. 2017-09-04 11:36:09 +02:00
Erik Svedäng
3bef2ce24d Must register all external types now. 2017-09-02 11:17:19 +02:00
Erik Svedäng
7d7d99b9b7 External types are correctly identified as non-managed by the 'isManaged' function. 2017-09-01 17:30:43 +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
00cd8df5cf replicate & repeat generates deleter functions 2017-07-12 10:22:16 +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
caaa4d99c3 Basics example work again. 2017-06-30 14:21:31 +02:00
Erik Svedäng
25f9892e94 Reduce! 2017-06-30 11:37:03 +02:00
Erik Svedäng
414c772f9a Fixed memory bug in Array_str__int 2017-06-30 11:00:36 +02:00
Erik Svedäng
97714dc77b Can log memory. 2017-06-30 10:46:40 +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
7a644b5b2f Array docs. 2017-06-26 16:28:22 +02:00
Erik Svedäng
c80526cfaa REPLACE WITH HASKELL VERSION 2017-06-26 11:15:03 +02:00