Handbook
Glossary
parse-response ( input question -- answer )
Vocabulary
quiz
Inputs
input
an
object
question
an
object
Outputs
answer
an
object
Definition
IN:
quiz
GENERIC:
parse-response
( input question -- answer )
Methods
USING:
kernel
quiz
unicode
;
M:
boolean-question
parse-response
drop
trim-blanks
>lower
"t"
=
;
USING:
kernel
quiz
unicode
;
M:
country-code-from-flag
parse-response
drop
trim-blanks
>title
;
USING:
kernel
quiz
unicode
;
M:
country-name-from-flag
parse-response
drop
trim-blanks
>title
;
USING:
kernel
quiz
unicode
;
M:
flag-from-country-code
parse-response
drop
trim-blanks
>title
;
USING:
kernel
quiz
unicode
;
M:
flag-from-country-name
parse-response
drop
trim-blanks
>title
;
USING:
kernel
math.parser
quiz
;
M:
number-question
parse-response
drop
string>number
;
USING:
kernel
quiz
;
M:
question
parse-response
drop
trim-blanks
;
USING:
kernel
quiz
unicode
;
M:
state-capital
parse-response
drop
trim-blanks
>title
;