]> gitweb.factorcode.org Git - factor.git/commitdiff
fix bzip3 documentation issues
authorrazetime <raghuallthetime@hotmail.com>
Mon, 31 Oct 2022 03:34:37 +0000 (09:04 +0530)
committerrazetime <raghuallthetime@hotmail.com>
Mon, 31 Oct 2022 03:34:37 +0000 (09:04 +0530)
extra/compression/bzip3/bzip3-docs.factor
extra/compression/bzip3/ffi/ffi-docs.factor

index 30cec8a7d8bf0cdc7979bf439e02b5fb6e1c6f87..0cc84b5656eb4f2d81ba3eaa6c1ec9b01c44c4e3 100644 (file)
@@ -4,7 +4,7 @@ USING: byte-arrays help.markup help.syntax kernel strings ;
 IN: compression.bzip3
 
 HELP: compress
-{ $values byte-array: byte-array block-size/f: POSTPONE: integer/f byte-array: byte-array }
+{ $values byte-array: byte-array block-size/f: { $maybe "integer" } byte-array: byte-array }
 { $description Takes a { $link "byte-array" } and block size, and pushes a compressed byte array from bzip3. } ;
 
 HELP: decompress
index 86a1ca728a1919bba07602ac262b6bee71669dfd..9a2c8ceeffcc61e54489c222ddda911f76ae3570 100644 (file)
@@ -1,6 +1,6 @@
 ! Copyright (C) 2022 Your name.
 ! See http://factorcode.org/license.txt for BSD license.
-USING: help.markup help.syntax kernel math ;
+USING: classes.struct help.markup help.syntax kernel math ;
 IN: compression.bzip3.ffi
 
 HELP: bz3_bound