Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
veli_joza
on Sept 19, 2018
|
parent
|
context
|
favorite
| on:
Fennel – Lisp in Lua
It works if you run both expressions from file. There's a tutorial page that explains why this doesn't work in REPL. See "Locals are per-chunk" here:
https://github.com/bakpakin/Fennel/blob/master/tutorial.md#g...
eggy
on Sept 19, 2018
[–]
Thanks, that makes sense. I will also try making it a global value assuming global works in the online REPL.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: