I know that some people are unable to function past a bedtime of, say, 10 or 11pm, and really need their 8 hours' sleep each night. I'm even married to someone like that.
I'm at the opposite end of the spectrum - often up late, tending to wake up fully refreshed after 6 hours sleep, able to go by on less, used to pull all-nighters at th...
Say I'm writing a mixin module that adds functionality to a third-party class. Obviously some of the methods and instance variables I want to make accessible to the third-party class and its clients. These constitute the public interface of the mixin module.
But I want certain other methods and instance variables to be encapsulated. I d...
So... I'm new to scheme r6rs, and am learning macros. Can somebody explain to me what is meant by 'hygiene'?
Thanks in advance.
...
I'd like to have a version of lambda, called lambda-r, from within which you can return. An example:
(+ ((lambda-r ()
(return 1)
2)) 5)
This would give the value 6. Although you might expect the value to be 7, it's 6 because 1 is returned from the lambda-expression before 2 is reached.
Here's an example of the kind of transfo...
Some claim that a single namespace in LISP leads to unhygienic macros.
http://community.schemewiki.org/?hygiene-versus-gensym
http://www.nhplace.com/kent/Papers/Technical-Issues.html
What precisely is it about having single, dual or multiple namespaces that leads to macro hygiene?
...