Skip to content

when

Given a file named “main.scm” with:

(import (scheme base))
(when #t (write-u8 65))

When I successfully run stak main.scm

Then the stdout should contain exactly “A”.

Given a file named “main.scm” with:

(import (scheme base))
(when #f (write-u8 65))

When I successfully run stak main.scm

Then the stdout should contain exactly "".