cnbbooks / lfe-tutorial

The LFE Tutorial
https://cnbbooks.github.io/lfe-tutorial/
27 stars 9 forks source link

Backquote macro #2

Closed rvirding closed 9 years ago

rvirding commented 9 years ago

Duncan I saw you are using the backquote macro in the example. While this is how would write it myself we haven't gone through backquote yet. Should we convert back to standard or go through macros before that? The erlang tutorial has very little on macros.

I know that in many of the classical lisp books they leave macros, at least writing them, until quite late. If we did that as well and did the example without backquote then we could use the bacquoted version as an example.

rvirding commented 9 years ago

Thinking a bit more about I think we should convert the example into not using the backquote, then when we do describe the backquote macro in the macro chapter we can use that function as an example of using backquote. How do you refer to another section/chapter?

oubiwann commented 9 years ago

Sounds good. You can refer to any link in the book like this:

[display text to be linked](section/page.html)

For example:

[Processes](concurrent/processes.html)
rvirding commented 9 years ago

Done. Now just need to write about the backquote macro.