fork download
  1. USING: io kernel math math.private math.parser formatting sequences prettyprint io.streams.byte-array io.streams.sequence;
  2.  
  3. IN: math
  4. MATH: mod ( x y -- z ) foldable flushable
  5.  
  6. readln string>number
  7. 2
  8. mod
  9. number>string print
Runtime error #stdin #stdout 1.29s 165056KB
stdin
5
stdout
./prog.factor

1: USING: io kernel math math.private math.parser formatting sequences prettyprint io.streams.byte-array io.streams.sequence;
                                                                                                                             ^
Vocabulary does not exist
name "io.streams.sequence;"