]> gitweb.factorcode.org Git - factor.git/commitdiff
inverse: Fix docs
authorGiftpflanze <gifti@tools.wmflabs.org>
Sat, 27 Apr 2024 20:34:16 +0000 (22:34 +0200)
committerGiftpflanze <gifti@tools.wmflabs.org>
Sat, 27 Apr 2024 20:34:16 +0000 (22:34 +0200)
basis/inverse/inverse-docs.factor
basis/inverse/inverse.factor

index 47b5e1184d38dba864d12e933eb58527dd004eab..af0a6452f72e75455a3e53d3740285acea9a1443 100644 (file)
@@ -49,7 +49,7 @@ HELP: switch
 { $see-also undo } ;
 
 HELP: under
-{ $values { "invertible-quot" "" } { "quot" "" } }
+{ $values { "invertible-quot" quotation } { "quot" quotation } }
 { $description "Applies " { $snippet "invertible-quot" } ", then " { $snippet "quot" } " and finally the inverse of " { $snippet "invertible-quot" } "." }
 { $examples
     "Round a decimal number to two decimals:"
index 33954c7634701a74a0ae6b8a0686f9fe815e1316..04ee00c361b76c8dd6d387e0e029fec0edc0b761 100644 (file)
@@ -292,5 +292,5 @@ SYNTAX: INVERSE: scan-word parse-definition define-inverse ;
 
 SYNTAX: DUAL: scan-word scan-word define-dual ;
 
-MACRO: under ( reversible-quot quot -- quot )
+MACRO: under ( invertible-quot quot -- quot )
     over [undo] '[ @ @ @ ] ;