Welcome to the CHICKEN Scheme pasting service

no title added by alice on Wed Jul 31 06:26:51 2019

#;42> (define sixteen (<Just> 16))
#;43> (define div2 (lambda (n) (if (even? n) (<Just> (/ n 2)) <Nothing>)))
#;44> (from-just (>>= sixteen div2 div2 div2))
2
#;45> (from-just (>>= (<Just> 3) div2 div2 div2))

Error: from-just called on <Nothing>

Your annotation:

Enter a new annotation:

Your nick:
The title of your paste:
Your paste (mandatory) :
What does `(string? 42)' produce?
Visually impaired? Let me spell it for you (wav file) download WAV