USING: io kernel math math.private math.parser formatting sequences prettyprint io.streams.byte-array io.streams.sequence; IN: mathMATH: mod ( x y -- z ) foldable flushable readln string>number2modnumber>string print
5
./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;"
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!