Hacker News new | ask | show | jobs
by veli_joza 2824 days ago
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...
1 comments

Thanks, that makes sense. I will also try making it a global value assuming global works in the online REPL.