Tags: | demos |
Authors: | Doug Coleman |
Class | Superclass | Slots |
boolean-question | question | |
boolean-response | tuple | |
country-code-from-flag | string-response | n |
country-name-from-flag | string-response | n |
flag-from-country-code | string-response | n |
flag-from-country-name | string-response | n |
generator-needs-reponse-type | tuple | generator |
math-multiplication | number-response | count n |
math-sq | number-response | random-choices |
math-sqrt | number-response | random-choices |
multiple-choice-question | question | n choices |
number-question | question | |
number-response | tuple | |
question | tuple | generator generated answer response parsed-response correct? |
stack-shuffler | string-response | n-shufflers |
state-capital | string-response | |
string-question | question | |
string-response | tuple |
Word | Stack effect |
>question | ( obj -- question ) |
ask-question | ( question -- ) |
check-response | ( question -- correct? ) |
generate-question | ( question -- ) |
generate-question* | ( question -- quot ) |
parse-response | ( input question -- answer ) |
run-multiple-choice-quiz | ( obj n -- questions ) |
run-quiz | ( obj -- questions ) |
Word | Stack effect |
<boolean-question> | ( generator -- question ) |
<multiple-choice-question> | ( generator n -- multiple-choice-question ) |
<number-question> | ( generator -- question ) |
<string-question> | ( generator -- question ) |
alphabet-zip | ( seq -- zip ) |
first-n-letters | ( n -- seq ) |
generator-needs-reponse-type | ( generator -- * ) |
run-country-code-from-flag-quiz | ( -- ) |
run-country-name-from-flag-quiz | ( -- ) |
run-flag-from-country-code-quiz | ( -- ) |
run-flag-from-country-name-quiz | ( -- ) |
run-math-quiz | ( -- ) |
run-one-question | ( question -- question/f ) |
run-shuffler-quiz | ( -- ) |
run-state-capital-quiz | ( -- ) |
score-question | ( question input -- question/f ) |
score-quiz | ( seq -- ) |
stack-shufflers | ( -- value ) |
state-capitals | ( -- value ) |
trim-blanks | ( seq -- seq' ) |
Word | Stack effect |
boolean-question? | ( object -- ? ) |
boolean-response? | ( object -- ? ) |
country-code-from-flag? | ( object -- ? ) |
country-name-from-flag? | ( object -- ? ) |
flag-from-country-code? | ( object -- ? ) |
flag-from-country-name? | ( object -- ? ) |
generator-needs-reponse-type? | ( object -- ? ) |
math-multiplication? | ( object -- ? ) |
math-sq? | ( object -- ? ) |
math-sqrt? | ( object -- ? ) |
multiple-choice-question? | ( object -- ? ) |
number-question? | ( object -- ? ) |
number-response? | ( object -- ? ) |
question? | ( object -- ? ) |
stack-shuffler? | ( object -- ? ) |
state-capital? | ( object -- ? ) |
string-question? | ( object -- ? ) |
string-response? | ( object -- ? ) |