Re: The beauty of LATEX

Daniel James <[email protected]>
Newsgroups gmane.comp.lib.boost.documentation
Message-ID <CAHOE3yfR=FHrzjkoeJ5T4BUwUV9busN+09CT3eAuHrzACZG9iQ@mail.gmail.com>
On Tuesday, 25 October 2011, Joel de Guzman wrote:

> On 10/25/2011 6:01 PM, Daniel James wrote:
> >
> > Yes, that works. Although now when you want to pass the function as a
> > parameter, you have to define another lambda function. Which could get
> > very verbose - especially if the function takes a few arguments. It
>
> That's how it's done in lisp/scheme, it's foolish to go invent
> something else.
>
> > also requires you to always know how many arguments a function takes.
>
> What's wrong with that? Ah, you want it like C function pointers
> where you pass only f and be done with it? That's too limiting.
> You can't even curry with it.
>

 You can do that in Scheme:

http://mitpress.mit.edu/sicp/full-text/book/book-Z-H-12.html#%_sec_1.3.1

_______________________________________________
Boost-docs mailing list
[email protected]
http://lists.boost.org/mailman/listinfo.cgi/boost-docs
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.