]> gitweb.factorcode.org Git - factor.git/blobdiff - extra/24-game/24-game.factor
Updating code to use CONSTANT: instead of : foo 123 ; inline
[factor.git] / extra / 24-game / 24-game.factor
index f842d5f4cb4a2ea32a985eb125e6d888b1a5329e..f22ca001f47e91a10ef7c8007d1f6a498d776cc3 100644 (file)
@@ -7,7 +7,7 @@ arrays words quotations accessors math.parser backtrack assocs ;
 
 IN: 24-game
 SYMBOL: commands
-: nop ;
+: nop ( -- ) ;
 : do-something ( a b -- c ) { + - * } amb-execute ;
 : maybe-swap ( a b -- a b ) { nop swap } amb-execute ;
 : some-rots ( a b c -- a b c )