diff options
| author | Marshall Lochbaum <mwlochbaum@gmail.com> | 2020-07-16 18:50:24 -0400 |
|---|---|---|
| committer | Marshall Lochbaum <mwlochbaum@gmail.com> | 2020-07-16 19:14:57 -0400 |
| commit | 1880ee9d6ec6744cc0ea990572293480ce756c89 (patch) | |
| tree | f9cd499f9865886764115c8733d1a7b5c47095a9 /doc | |
| parent | 5a7a159f4f165d9fae11b283005602be21290b1a (diff) | |
Minor edits
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/depth.md | 2 | ||||
| -rw-r--r-- | doc/join.md | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/doc/depth.md b/doc/depth.md index e4669b69..2bb369ef 100644 --- a/doc/depth.md +++ b/doc/depth.md @@ -92,7 +92,7 @@ For Select, the depth-1 case is still quite useful, but it may also be desirable ## The Depth composition -The Depth composition (`⚇`) is a generalization of Each that allows diving deeper into an array. To illustrate it we'll use a shape 4‿3 array of lists of lists. +The Depth composition (`⚇`) is a generalization of Each that allows diving deeper into an array. To illustrate it we'll use a shape `4‿3` array of lists of lists. ⊢ n ← <⎉1⍟2 4‿3‿2‿2⥊↕48 ┌ diff --git a/doc/join.md b/doc/join.md index cb8dfb36..cb940699 100644 --- a/doc/join.md +++ b/doc/join.md @@ -1,3 +1,5 @@ +# Join + Join (`∾`) is an extension of the monadic function [Raze](https://aplwiki.com/wiki/Raze) from A+ and J to arbitrary argument ranks. It has the same relationship to Join to, the dyadic function sharing the same glyph, as Unbox (`>`) does to Couple (`≍`): `a≍b` is `>a‿b` and `a∾b` is `∾a‿b`. While Unbox and Couple combine arrays (the elements of Unbox's argument, or the arguments themselves for Coups) along a new leading axis, Join and Join to combine them along the existing leading axis. Both Unbox and Join can also be called on a higher-rank array, causing Unbox to add multiple leading axes while Join combines elements along multiple existing axes. Join can be used to combine several strings into a single string, like `array.join()` in Javascript (but it doesn't force the result to be a string). |
