From c5eef0418df2ae6a97c54839fa010ff60d96f78b Mon Sep 17 00:00:00 2001 From: Marshall Lochbaum Date: Sat, 8 Jan 2022 16:14:51 -0500 Subject: =?UTF-8?q?Add=20error=20messages=20to=20generated=20markdown=20do?= =?UTF-8?q?cs=20with=20=E2=80=A2CurrentError=20(fixes=20#22)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/doc/enclose.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs/doc/enclose.html') diff --git a/docs/doc/enclose.html b/docs/doc/enclose.html index aac48d68..2a401603 100644 --- a/docs/doc/enclose.html +++ b/docs/doc/enclose.html @@ -39,7 +39,7 @@

In this case each call to +˝ returns a cell of the result. The result is a list, so its cells are units! Here, Cells (˘) "hides" one axis from its operand, and the operand +˝ reduces out an axis, leaving zero axes—until Cells assembles the results, putting its axis back. In this case, +´ would also be tolerated. But it's wrong, because each result really should be a zero-axis array. We can reveal this by making an array whose elements aren't atoms.

↗️
    +´˘ 2,"ab"3,"ABC"
-ERROR
+Error: >: Elements didn't have equal shapes (contained ⟨2⟩ and ⟨3⟩)
     +˝˘ 2,"ab"3,"ABC"
 ⟨ "ac" "ACE" ⟩
 
-- cgit v1.2.3