Commit graph

23 commits

Author SHA1 Message Date
Max Nordlund
2d07ae8698
Update tutorial_macros.rst (#5715)
This removes the false statement that Haskell and other functional programming languages does need nor not have macros.

Lisp is a functional programming language with macros at the core of the language. For Haskell specifically its called [Template Haskell](https://wiki.haskell.org/Template_Haskell).

There's also Erlang which has a token based macro system, something between the C preprocessor and Lisp. Elixir, a newer language in the same ecosystem as Erlang, has full procedural macros. This is similar to the macros in Xonsh; regular functions that take AST nodes as input and return a, potentially different, AST node.
2024-10-30 14:11:04 +01:00
Danny Sepler
088420d075 a few more 2020-10-03 23:25:27 -04:00
Anthony Scopatz
ed9f9ea041 consistenty with macro args 2016-09-02 19:30:39 -04:00
Anthony Scopatz
6a32442ac9 macro typos 2016-09-02 09:38:17 -04:00
Anthony Scopatz
bdca28c91d docs for with! 2016-08-31 01:31:45 -04:00
Anthony Scopatz
d392e9e9d6 fixed minor conflict 2016-08-31 00:21:27 -04:00
Anthony Scopatz
c9b6667aec some typos 2016-08-29 19:35:09 -04:00
Anthony Scopatz
5f5aa2f45b trouble with xml block 2016-08-29 01:10:57 -04:00
Anthony Scopatz
6a85244487 Merge branch 'master' into msub 2016-08-28 13:47:21 -04:00
Anthony Scopatz
e19a0aa1e5 some copy edits from @gforsyth, I shouldn't write docs while jet lagged 2016-08-28 13:11:36 -04:00
Anthony Scopatz
d30bcf97ce a few more 2016-08-27 20:02:45 -04:00
Anthony Scopatz
3c979c2fce more docs 2016-08-27 19:05:42 -04:00
Anthony Scopatz
a3c03b0b07 macro escape 2016-08-27 13:27:15 -04:00
Anthony Scopatz
0e7ed93c24 doc spell check 2016-08-20 21:16:45 -04:00
Anthony Scopatz
1d595e9ad9 added types to macros 2016-08-20 21:11:07 -04:00
Anthony Scopatz
9f8035ee49 more macros 2016-08-20 21:00:00 -04:00
Anthony Scopatz
dcc17effd1 more stuff 2016-08-20 20:32:30 -04:00
Anthony Scopatz
398e11b388 fixed macro context bug 2016-08-20 19:43:12 -04:00
Anthony Scopatz
bed66a0ea5 minor docs 2016-08-20 19:05:41 -04:00
Anthony Scopatz
ea58a8bdd0 added ws after comma 2016-08-20 19:00:41 -04:00
Anthony Scopatz
92e055975f more 2016-08-20 18:13:36 -04:00
Anthony Scopatz
0b67ae1865 more docs 2016-08-20 17:43:37 -04:00
Anthony Scopatz
93e144f5b1 started docs 2016-08-20 17:00:10 -04:00