Sha256: aa96064fb2c3d31a0f2771dada77ef76c4b1c89d0d1a433dc321f7e81a983c9b
Contents?: true
Size: 401 Bytes
Versions: 214
Compression:
Stored size: 401 Bytes
Contents
USING: hello-world tools.test ; IN: two-fer.tests ! There are no variadic functions in Factor, due to the nature of the stack. ! Usually, if you need var args, use an array. Here, we'll just use an empty string. { "One for you, one for me." } [ "" 2-for-1 ] unit-test { "One for Alice, one for me." } [ "Alice" 2-for-1 ] unit-test { "One for Bob, one for me." } [ "Bob" 2-for-1 ] unit-test
Version data entries
214 entries across 214 versions & 1 rubygems