seqlings 3.0.7

Interactive exercises for learning Seq, a stack-based programming language
1
2
3
4
5
6
7
8
9
10
: longer-than-five? ( String -- Bool )
    string.length 5 >
;

: test-length ( -- )
    "Seqlings" longer-than-five?
    test.assert
    "Seq" longer-than-five?
    not test.assert
;