From 0c716e4c6b7c2c44bbfd02b6503cae66af7b7480 Mon Sep 17 00:00:00 2001 From: Marshall Lochbaum Date: Fri, 28 Jan 2022 16:34:41 -0500 Subject: Separate syntax highlighting category for header/body characters ;:? --- docs/doc/undo.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'docs/doc/undo.html') diff --git a/docs/doc/undo.html b/docs/doc/undo.html index f2082a10..3a2ddcba 100644 --- a/docs/doc/undo.html +++ b/docs/doc/undo.html @@ -45,8 +45,8 @@

Undo headers

Of course BQN will never be able to invert all the functions you could write (if it could you could earn a lot of bitcoins, among other feats). But it does recognize some header forms that you can use to specify the inverse of a block function. BQN will trust you and won't verify the results your specified inverse gives.

{
-  ๐•Š๐•ฉ:  ๐•ฉรท1+๐•ฉ ;
-  ๐•Šโผ๐•ฉ: ๐•ฉรท1-๐•ฉ
+  ๐•Š๐•ฉ:  ๐•ฉรท1+๐•ฉ ;
+  ๐•Šโผ๐•ฉ: ๐•ฉรท1-๐•ฉ
 }
 

The above function could also be defined with the automatically invertible 1โŠธ+โŒพรท, but maybe there's a numerical reason to use the definition above. Like a normal header, an undo header reflects the normal use, but it includes โผ and possibly หœ addition to the function and arguments.

-- cgit v1.2.3