hammerha
2020-4-12 08:50:17

Hello everyone, I’ve just started reading The Little Schemer and I believe there are many who read this book here. I have a very trivial question. What could lat stand for which appears in Ch2? (I know what it does but I’m wondering about the etymology.)



jesse
2020-4-12 09:25:35

(l) of (at)oms


hammerha
2020-4-12 09:37:44

:+1: thanks @jesse



sorawee
2020-4-12 18:48:47

I need to run (dynamic-require "a.rkt" #f), …, (dynamic-require "z.rkt" #f). Each script runs quickly, but the overhead of dynamic-require for each instantiation is a lot. Is there a way to reduce the cost?


soegaard2
2020-4-12 18:50:53

Try making a module “a-to-z.rkt” that just contains (require "a.rkt")(require "a.rkt") and then use dynamic-require to dynamically require it.


samth
2020-4-12 18:52:25

@sorawee are you doing them all in the same namespace? dynamic-require doesn’t really have any extra overhead


sorawee
2020-4-12 18:52:47

Good point. It’s all different namespace.


samth
2020-4-12 18:58:49

if the all load a bunch of other code, then sharing the namespace will help a lot


wanpeebaw
2020-4-13 01:13:25

So many coded information, IMHO, list-of-atoms? is so much better. :zany_face: