Why is this on the front page of Hacker News? Isn't this an advertisement?
Show HN: Full Stack Lisp – A book in progress about writing Common Lisp apps
11–20 of 110 posts
Re: Show HN: Full Stack Lisp – A book in progress about writing Common Lisp apps
#12Can you include a good description of reading macros? I'm still looking for good explanation with examples of their power.
For more examples, see http://lisper.in/reader-macros/.
Re: Show HN: Full Stack Lisp – A book in progress about writing Common Lisp apps
#13Why is this on the front page of Hacker News? Isn't this an advertisement?
Re: Show HN: Full Stack Lisp – A book in progress about writing Common Lisp apps
#14Can you include a good description of reading macros? I'm still looking for good explanation with examples of their power.
It is a way to customize the Lisp reader by associating a custom function to an entry in the readtable.
So you can say that character '[' will be tied to a custom reader function, which reads from a stream and produces a Lisp object, at readtime.
The standard sharpsign[1] character is used to read different kind of structures: complex numbers #C(0 1), structs #S(tree :left nil :right nil), and so on.
In particular, you can have sharpsign-dot, which reads a lisp form, evaluates it at read time; the result is the form being read.
Also, you can use #1= and #1# to affect parts of your code to reader variables and reuse them in other places.
If the PRINT-CIRCLE (there are earmuffs around it, but I can't format it here) variable is set to true, here is a quine:
#1=(print '#1#)
[0] http://www.lispworks.com/documentation/HyperSpec/Body/26_glo...[1] http://www.lispworks.com/documentation/HyperSpec/Body/02_dh....
Re: Show HN: Full Stack Lisp – A book in progress about writing Common Lisp apps
#15Re: Show HN: Full Stack Lisp – A book in progress about writing Common Lisp apps
#16How about fitting, into a single image, a joke about some ex-web developer, stacking pancakes at IHOP.
Or maybe a visual reference to this type of full stack: https://www.google.com/search?q=guitar+full+stack&tbm=isch
Re: Show HN: Full Stack Lisp – A book in progress about writing Common Lisp apps
#17Re: Show HN: Full Stack Lisp – A book in progress about writing Common Lisp apps
#18Poor cover art. How about fitting, into a single image, a joke about some ex-web developer, stacking pancakes at IHOP. Or maybe a visual reference to this type of full stack: https://www.google.com/search?q=guitar+full+stack&tbm=isch
Re: Show HN: Full Stack Lisp – A book in progress about writing Common Lisp apps
#19I'd love to see more books like this for less common languages (Haskell particularly), as I've found there's generally plenty of resources for learning the basic commands and code structure but there's little information for going from those first steps to creating an actual useful application.
Re: Show HN: Full Stack Lisp – A book in progress about writing Common Lisp apps
#20I'd love to see more books like this for less common languages (Haskell particularly), as I've found there's generally plenty of resources for learning the basic commands and code structure but there's little information for going from those first steps to creating an actual useful application.
With this book, we want to show you how to use functional programming and Haskell to solve realistic problems. This is a hands-on book: every chapter contains dozens of code samples, and many contain complete applications.