aboutsummaryrefslogtreecommitdiff
path: root/doc/depth.md
diff options
context:
space:
mode:
authorMarshall Lochbaum <mwlochbaum@gmail.com>2020-07-18 23:00:43 -0400
committerMarshall Lochbaum <mwlochbaum@gmail.com>2020-07-18 23:00:43 -0400
commit7b36cd6a7a6d576c19c60e7842a0d0d0c460702a (patch)
tree8c66983cc29babe5f24df783dab1db879b802ebc /doc/depth.md
parent2366e5a6275d39c1bd9cab2ada26bea00394820d (diff)
Add links to html versions at the top of markdown files
Diffstat (limited to 'doc/depth.md')
-rw-r--r--doc/depth.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/depth.md b/doc/depth.md
index a901982c..855ca6ab 100644
--- a/doc/depth.md
+++ b/doc/depth.md
@@ -1,3 +1,5 @@
+*View this file with results and syntax highlighting [here](https://mlochbaum.github.io/BQN/doc/depth.html).*
+
# Depth
The depth of an array is the greatest level of array nesting it attains, or, put another way, the greatest number of times you can pick an element starting from the original array before reaching a non-array. The monadic function Depth (`≡`) returns the depth of its argument, while the 2-modifier Depth (`⚇`) can control the way its left operand is applied based on the depth of its arguments. Several primitive functions also use the depth of the left argument to decide whether it applies to a single axis of the right argument or to several axes.