assocs, math.bitwise: remove first blank line and useless whitespace in a few usage examples
parent
5cad80fdc9
commit
8d2ceda8f3
|
@ -57,7 +57,7 @@ HELP: bit-clear?
|
|||
"HEX: ff 8 bit-clear? ."
|
||||
"t"
|
||||
}
|
||||
{ $example "" "USING: math.bitwise prettyprint ;"
|
||||
{ $example "USING: math.bitwise prettyprint ;"
|
||||
"HEX: ff 7 bit-clear? ."
|
||||
"f"
|
||||
}
|
||||
|
@ -275,7 +275,7 @@ HELP: unmask
|
|||
{ $description "Clears the bits in " { $snippet "x" } " if they are set in the mask " { $snippet "n" } "." }
|
||||
{ $examples
|
||||
{ $example "USING: math.bitwise kernel prettyprint ;"
|
||||
"HEX: ff HEX: 0f unmask .h"
|
||||
"HEX: ff HEX: 0f unmask .h"
|
||||
"f0"
|
||||
}
|
||||
} ;
|
||||
|
@ -288,7 +288,7 @@ HELP: unmask?
|
|||
{ $description "Tests whether unmasking the bits in " { $snippet "x" } " would return an integer greater than zero." }
|
||||
{ $examples
|
||||
{ $example "USING: math.bitwise kernel prettyprint ;"
|
||||
"HEX: ff HEX: 0f unmask? ."
|
||||
"HEX: ff HEX: 0f unmask? ."
|
||||
"t"
|
||||
}
|
||||
} ;
|
||||
|
|
|
@ -495,7 +495,7 @@ HELP: zip
|
|||
{ "alist" "an array of key/value pairs" } }
|
||||
{ $description "Combines two sequences pairwise into a single sequence of key/value pairs." }
|
||||
{ $examples
|
||||
{ $example "" "USING: prettyprint assocs ;"
|
||||
{ $example "USING: prettyprint assocs ;"
|
||||
"{ 1 2 3 } { 4 5 6 } zip ."
|
||||
"{ { 1 4 } { 2 5 } { 3 6 } }"
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue