Good vs. Evil

  • The FTB Forum is now read-only, and is here as an archive. To participate in our community discussions, please join our Discord! https://ftb.team/discord

Someone Else 37

Forum Addict
Feb 10, 2013
1,876
1,440
168
56 Let's see what the interactive compilers I have on my laptop say:
Code:
$ lein repl
user=> while true do print yay end

CompilerException java.lang.RuntimeException: Can't take value of a macro: #'clojure.core/while, compiling:(NO_SOURCE_PATH:0:0) 
true

CompilerException java.lang.RuntimeException: Unable to resolve symbol: do in this context, compiling:(NO_SOURCE_PATH:0:0) 
#<core$print clojure.core$print@2a16f5e>

CompilerException java.lang.RuntimeException: Unable to resolve symbol: yay in this context, compiling:(NO_SOURCE_PATH:0:0) 

CompilerException java.lang.RuntimeException: Unable to resolve symbol: end in this context, compiling:(NO_SOURCE_PATH:0:0)

user=> (exit)
$ ghci
Prelude > while true do print yay end

<interactive>:2:12: parse error on input ‘do’
Prelude > ^D
$ python
>>> while true do print yay end
 File "<stdin>", line 1
    while true do print yay end
                ^
SyntaxError: invalid syntax
>>> exit()
 

lenscas

Over-Achiever
Jul 31, 2013
2,015
1,801
248
57 in other news, I found a free to play game that is only available for windows and linux.
I would understand the combination of windows+mac or mac+linux but I don't get the combination of windows+linux.