classes.maybe: fix help-lint for docs.
Right now the examples must have stack effect ( -- ). Some future version might have an output stack assertion, but for now use prettyprint to check result.char-rename
parent
e41f021f3c
commit
3f04f7b013
|
@ -11,8 +11,9 @@ ARTICLE: "maybes" "Maybe classes"
|
|||
"A slot with an empty " { $snippet "maybe{ }" } " class can only hold the " { $link POSTPONE: f } " value."
|
||||
{ $examples
|
||||
{ $example
|
||||
"USING: prettyprint ;"
|
||||
"TUPLE: test-maybe { value maybe{ fixnum string } } ;"
|
||||
"test-maybe new value>>"
|
||||
"test-maybe new value>> ."
|
||||
"f"
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue