fix sub (#586); add gsub/3; add transpose/0.

Signed-off-by: William Langford <wlangfor@gmail.com>
This commit is contained in:
pkoppstein authored and William Langford committed 2014-10-06 21:32:07 -04:00
1 parent 1796a716ea
commit 85f0e30c81
3 files changed
+38 -9

No files matched your search

+12
View File
@@ -1341,6 +1341,18 @@ sections:
input: 'null'
output: ['"less"']
- title: "`transpose`"
body: |
Transpose a possibly jagged matrix (an array of arrays).
Rows are padded with nulls so the result is always rectangular.
examples:
- program: 'target'
input: '[[1], [2,3]]'
output: ['[1,2],[null,3]']
- title: "String interpolation - `\\(foo)`"
body: |