Re: [Boost-docs] The beauty of LATEX

Subject: Re: [Boost-docs] The beauty of LATEX
From: Daniel James (dnljms_at_[hidden])
Date: 2011-10-26 08:40:27


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



This archive was generated by hypermail 2.1.7 : 2017-11-11 08:50:41 UTC