Commit Graph

11473 Commits (552791d1cf959e7f6035f43f58c6caf176ba2bc9)

Author SHA1 Message Date
Jon Harper 80e9d7c115 move math.extras:round-to-even to math.functions to use in basis:formatting
Also add round-to-odd in case it is needed.
Also change float rounding to be independent of the current rounding mode
2017-06-08 11:23:37 -07:00
Alexander Iljin 2ffa446f5b *-docs: replace double spaces with single spaces
Code examples and other places where multiple spaces were used to align
text were left intact.
2017-06-05 13:16:07 -07:00
Doug Coleman b3ba829601 cuda.devices: Utility word to print all cuda devices. 2017-06-03 20:59:51 -05:00
Doug Coleman 48344ab55c factor: last iota -> <iota> fix. 2017-06-02 17:39:40 -05:00
Doug Coleman 32710df620 core/basis: Rename tuples kernel:curry -> curried, kernel:compose -> composed.
Also rename the stack-checker curried -> curried-effect, composed -> composed-effect.
2017-06-02 17:39:20 -05:00
Doug Coleman 195630f637 iota: Fix second iota -> <iota> in line several times. 2017-06-02 15:41:51 -05:00
Doug Coleman e189954ecc core: Rename iota to <iota> so we can have TUPLE: iota ... ; instead of TUPLE: iota-tuple ... ; 2017-06-02 11:57:05 -05:00
Doug Coleman f7ce73b962 gml.runtime: Don't let gml double up on class/word names.
Related to #358.
2017-06-01 15:47:49 -05:00
Doug Coleman c5b563ed09 factor: Rename start -> subseq-start, start* -> subseq-start-from.
I also removed aliases for start/end from interval-maps and interval-sets and added a comment. I don't think it's any less clear what's going on.
2017-06-01 14:45:54 -05:00
Doug Coleman 7c7bb93c55 factor: Rename GENERIC# to GENERIC#:.
Fixes #1670.
2017-06-01 13:58:58 -05:00
Alexander Iljin 5b1198e20c file-picker.operations: fix invalid parameter order in save-as 2017-05-29 09:57:06 -07:00
John Benediktsson c8e02d880e file-picker.operations: use set-file-contents. 2017-05-29 08:07:12 -07:00
Alexander Iljin b000f124a0 file-picker*: add copyright and licence headers, and authors.txt files 2017-05-29 08:05:59 -07:00
Alexander Iljin 0464e6f84b file-picker.operations: new vocab with save-as operation for byte-arrays 2017-05-29 08:05:59 -07:00
Alexander Iljin 4ceb098907 file-picker: implement save-file-dialog on windows 2017-05-29 08:05:59 -07:00
Sankaranarayanan Viswanathan c1d6477c22 slides: map 'b' key to previous slide (like unix less) 2017-05-06 11:17:34 -07:00
John Benediktsson 9e62a13185 graphviz.notation: fix $example to compile properly. 2017-05-05 12:17:31 -07:00
Alexander Iljin 717a49c365 ui.gadgets.charts.lines: add a division by zero test for calc-line-slope 2017-04-17 13:54:51 -07:00
Alexander Iljin 07f35d95ac ui.gadgets.charts.axes: replace boolean property with subclasses
The vertical? property of the axis tuple was replaced with two subclasses:
vertical-axis and horizontal-axis.
2017-04-17 13:54:51 -07:00
Alexander Iljin c91d7dbcb9 ui.gadgets.charts.lines: make black the default line color
Prevent crash if the color slot is empty.
2017-04-17 13:54:51 -07:00
Alexander Iljin 90a7ce9120 ui.gadgets.charts.utils: move some common code to the new vocab 2017-04-17 13:54:51 -07:00
Alexander Iljin 90087cebc1 ui.gadgets.charts.[axes|demos]: add simple axis drawing 2017-04-17 13:54:51 -07:00
Alexander Iljin dd3fcfdadf ui.gadgets.charts.axes: initial import 2017-04-17 13:54:51 -07:00
Alexander Iljin a050823f29 Move charts* to ui.gadgets.charts* in the resource:extra root 2017-04-17 13:54:51 -07:00
Samuel Tardieu 30f73d63f4 Add French number>text support for ratios 2017-03-23 12:11:05 +01:00
Samuel Tardieu 5707acdaf0 Apply 1990 French orthographic reform for writing numbers 2017-03-23 11:32:52 +01:00
Alexander Iljin 692f49d92e rosetta-code.gnome-sort: add some tests 2017-03-18 16:44:14 -07:00
Alexander Iljin ea50cc77a0 rosetta-code.gnome-sort: add vocab 2017-03-18 15:08:56 -07:00
John Benediktsson 9c7655d286 infix: adding support for constants and ( -- x ) words.
Also speed up subseq steps with negative steps.
2017-03-18 13:27:33 -07:00
John Benediktsson 2e43bc6b90 infix: add support for string literals.
Rename ast-number to ast-value (to represent any literal value).
2017-03-16 16:14:51 -07:00
John Benediktsson 8e87696719 infix: don't shadow ``t`` even though we can. 2017-03-16 15:50:58 -07:00
John Benediktsson aa05fca37f infix: add a test for nested local scopes. 2017-03-16 15:49:07 -07:00
John Benediktsson 2b23d75544 infix: fix to allow nested local scopes. 2017-03-16 15:36:07 -07:00
John Benediktsson c6a00bfdfe id3: fix for find-files-by-extension rename. 2017-03-05 13:47:19 -08:00
John Benediktsson 9e4b0c10ae lru-cache: fix M\ lru-cache clone. 2017-03-02 18:41:24 -08:00
John Benediktsson faf0158ad0 lru-cache: adding a Least Recently Used (LRU) cache. 2017-03-02 16:12:01 -08:00
John Benediktsson 890be49074 combinators.extras: adding a variant to cond. 2017-02-21 14:51:30 -08:00
John Benediktsson d63c992d97 using when instead of [ ] if. 2017-02-09 16:29:14 -08:00
John Benediktsson 2e73914e85 rosetta-code.equilibrium-index: simplify. 2017-02-09 16:04:20 -08:00
John Benediktsson 3a6eefcc8e using ignore-errors instead of [ drop ] recover. 2017-02-09 15:50:33 -08:00
Jon Harper 7ed6379633 trees, attempt to keep shape during conersions 2017-02-08 10:37:02 -08:00
Jon Harper d800d026de trees, make pop/slurp work for all trees
It is not as optimized as it could be but it is a simple way
to ensure that the tree properties are maintained.
2017-02-08 10:37:02 -08:00
Jon Harper e0bd21e24a trees, cleanup privates 2017-02-08 10:37:02 -08:00
Jon Harper 8b136cdd6d trees, add pop/slurp operations 2017-02-08 10:37:02 -08:00
Jon Harper 45500b9137 trees, add navigation operations (lower-key etc.) 2017-02-08 10:37:02 -08:00
Jon Harper 3667844439 trees, add range operations (subtree>alist etc.) 2017-02-08 10:37:02 -08:00
Jon Harper c686b15939 trees, fix delete-at. Add testcase 2017-02-08 10:37:02 -08:00
Jon Harper 2ca301ec5e trees.splay, add test for assoc-size 2017-02-08 10:37:02 -08:00
Jon Harper 4442d922b0 trees.avl, implement assoc-size 2017-02-08 10:37:02 -08:00
Jon Harper d2cfbafa13 trees, implement assoc-size 2017-02-08 10:37:02 -08:00