Since the inner-most lambda block references the list ("l"), aren't the
nested lambda's the cleanest implementation? Otherwise, you would have to
use currying, which looks like it would add complexity (based on a random
article i just found, here
http://www.engr.uconn.edu/~jeffm/Papers/curry.html)
You can always try including the relative path. Something like:
(find-executable-path "pdflatex" "../../../sw/bin")
Doesn't OS X have a .profile? Maybe try defining the path there instead of
in .bashrc?
On Wed, Jun 6, 2012 at 2:40 PM, Viera Proulx wrote:
> I am starting to play with scribble an
Maybe something similar to Microsoft's #region directive (
http://msdn.microsoft.com/en-us/library/9a1ybwek(v=vs.71).aspx). It
wouldn't need much intelligence, but you would have to manually define each
block
(define fish '(1 2))
;; region Tests
(module+ test (check andmap number? fish))
;; endreg
Ronald,
The Structure and Interpretation of Computer Programs has a pretty good
section about how the recursion happens. It's pretty short, and I think it
covers what you are interested in understanding
http://mitpress.mit.edu/sicp/full-text/book/book-Z-H-10.html#%_sec_1.1.5
In particular, check
nd just wondering what the thinking is in the
community. Inline unit tests pop up here and there in other languages
(Python has doctest), but it's not really widespread. Seeing how it's going
to be part of the Racket core, maybe it's a technique I should start using?
--
David Janke
__
5 matches
Mail list logo