and
Use an and operator
Section titled “Use an and operator”Given a file named “main.scm” with:
(import (scheme base))
(write-u8 (if (and <values>) 65 66))When I successfully run stak main.scm
Then the stdout should contain exactly “<output>”.
Examples
Section titled “Examples”| values | output |
|---|---|
| A | |
| #t | A |
| #f | B |
| #t #t | A |
| #t #f | B |