Commit Graph

401 Commits

Author SHA1 Message Date
Erik Svedäng
7982057061 Tests run. 2018-06-15 14:46:44 +02:00
Erik Svedäng
8e1c8ce79a Rename variable to not clash with keyword 'fn'. 2018-06-15 12:07:32 +02:00
Erik Svedäng
c9bc42ef44
Merge pull request #250 from hellerve/docs
Document Test, Statistics, and Vector modules
2018-06-14 17:43:08 +02:00
hellerve
1212eedbea core: document statistics module 2018-06-14 11:21:59 +02:00
hellerve
a58cc23af6 core: document vector3 and vectorN 2018-06-14 11:14:59 +02:00
hellerve
fe30c29baf core: document vector2 2018-06-14 11:11:07 +02:00
hellerve
c04aab7d47 core: document test 2018-06-14 10:49:28 +02:00
hellerve
db3848f639 core: documet map module 2018-06-13 17:14:39 +02:00
Erik Svedäng
275947dc35 BUGFIX: Can't define '=' in terms of '=' on generic members of type, see Pair.= 2018-06-13 12:29:54 +02:00
hellerve
671116e59c core: remove statistics.sum 2018-06-11 21:35:25 +02:00
hellerve
2e742a9c18 core: do not use Array in Map 2018-06-11 21:23:34 +02:00
hellerve
913e8e3892 core: add map 2018-06-11 20:50:54 +02:00
hellerve
289fa8b011 core: add to-bytes 2018-06-07 18:30:57 +02:00
Erik Svedäng
644119a7ec Added 'Core.carp' file that contains files to load at boot. 2018-06-05 13:28:28 +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
Erik Svedäng
1079075637 Various tweaks. 2018-06-01 16:40:14 +02:00
Erik Svedäng
12dbe36adc Added function 'zip' and 'enumerated' for Array. 2018-06-01 11:18:34 +02:00
Erik Svedäng
f05efea2fe Added function 'copy-map-2'. 2018-06-01 11:00:50 +02:00
Erik Svedäng
b438edf09c BUGFIX: Parser now must consume whole input. 2018-06-01 10:24:46 +02:00
hellerve
99fb38de73 core: add assert-signal 2018-05-23 15:13:13 +02:00
hellerve
a55c953396 core: add inspection of forked processes (references #235) 2018-05-23 13:58:04 +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
Erik Svedäng
6a787b93aa
Merge pull request #240 from hellerve/char-str
Split Char.prn and Char.str
2018-05-21 21:31:34 +02:00
hellerve
42918e3ef6 core: split Char.prn and Char.str (only prn should add slashes 2018-05-21 18:26:05 +02:00
Chris Hall
3cea541ae6 Removing stray comma from String.carp 2018-05-20 18:47:27 +10:00
Chris Hall
45311a2d92 Adding String.index-of-from
Issue #94
2018-05-20 18:44:01 +10:00
Chris Hall
4524188490 Adding String.index-of
Issue #94
2018-05-20 18:27:31 +10:00
Chris Hall
0a1bc6af42 Moving Array.concat to also use 'StringBuilder' pattern (like String.concat) 2018-05-20 17:24:57 +10:00
Chris Hall
bc41cfa140 Moving String.join to also use StringBuilder, adding String.join-with-char
Issue #94
2018-05-20 17:11:26 +10:00
Chris Hall
45feaa6ec1 Fixing whitespace for String.concat
Issue #94
2018-05-20 16:56:51 +10:00
Chris Hall
9df81836f3 Adding docs for String.sum-count
Issue #94
2018-05-20 16:51:00 +10:00
Chris Hall
c5d23b75b9 String.concat now uses StringBuilder pattern to avoid intermediate allocations and string copies
Issue #94
2018-05-20 16:48:20 +10:00
Chris Hall
56c6133a91 Adding String.allocate function
Issue #94
2018-05-20 15:18:34 +10: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
148003c241 Adding String.string-set-at!
Issue #94
2018-05-20 13:53:30 +10:00
Chris Hall
92832e540e Adding asserts to String.string-set!
Issue #94
2018-05-20 13:31:21 +10:00
Chris Hall
bc43a413e1 Adding String.string-set!
Issue #94
2018-05-20 13:28:01 +10:00
Chris Hall
9126f24db8 Renaming String.join -> String.concat, and String.join-with to String.join
This naming matches s-el and other languages/libraries.

Issue #94
2018-05-20 12:48:50 +10:00
Chris Hall
202092fe45 Adding TODOs to String.carp to point out mismatch in Carp naming compared to s-el and others 2018-05-20 12:48:50 +10:00
Chris Hall
513de1f738 Adding join-with [sep strings] to Core.String
Issue #94
2018-05-20 12:48:50 +10:00
Chris Hall
c6e4c9001f Documenting some functions in String module
Issue #94
2018-05-20 12:48:50 +10:00
Chris Hall
0c881bc0ff Removing String.duplicate in favour of String.copy
Issue #94
2018-05-20 12:05:23 +10:00
hellerve
0071399134 core: fix stray closing bracket (thanks @mkfifo) 2018-05-16 06:11:04 +02:00
hellerve
97d1259687 core: remove docs from interfaces 2018-05-12 16:08:48 +02:00
hellerve
db0a3d4417 core: document integer, interfaces, pattern, safeint, and system 2018-05-12 16:08:48 +02:00
hellerve
f3e559dc28 docs: more documentation work 2018-05-12 16:08:48 +02:00
hellerve
03b52d73ba array: defn->doc 2018-05-12 16:08:48 +02:00