boost::lambda and the y-combinator

  • Follow


So I was just doing a quick Google search to try and find if anyone
has tried implementing the Y-combinator with boost::lambda or
something like it but I couldn't seem to find anything.  Any help?

-- 
      [ See http://www.gotw.ca/resources/clcm.htm for info about ]
      [ comp.lang.c++.moderated.    First time posters: Do this! ]

0
Reply dkixk1 (14) 4/1/2008 3:03:08 PM

On Apr 1, 11:03 pm, dkixk <dki...@gmail.com> wrote:
> So I was just doing a quick Google search to try and find if anyone
> has tried implementing the Y-combinator with boost::lambda or
> something like it but I couldn't seem to find anything.  Any help?

It's in Boost.Egg, which is under review.
It's called fix, for Fixed point combinator.


-- 
      [ See http://www.gotw.ca/resources/clcm.htm for info about ]
      [ comp.lang.c++.moderated.    First time posters: Do this! ]

0
Reply Mathias 4/2/2008 5:13:12 AM


On 2 Apr., 13:13, Mathias Gaunard <loufo...@gmail.com> wrote:
> On Apr 1, 11:03 pm, dkixk <dki...@gmail.com> wrote:
>
> > So I was just doing a quick Google search to try and find if anyone
> > has tried implementing the Y-combinator with boost::lambda or
> > something like it but I couldn't seem to find anything.  Any help?
>
> It's in Boost.Egg, which is under review.
> It's called fix, for Fixed point combinator.

This might a bit off-topic, but I feel a need to add it here:

Boost.Egg was announced for review just for April, 1st.
[Actually March, 31th, but that was not so much difference].
Large parts - if not most - of our developers where convinced
that this was supposed to be an April Fool's joke. It was not
only the date, but it's combination of the library's name "egg",
which had these alarming consequences... ;-).

So, could anyone explain the reasons behind this naming
decision? Maybe a relation to

http://en.wikipedia.org/wiki/Chicken_%28Scheme_implementation%29

?

Greetings from Bremen,

Daniel Kr�gler



-- 
      [ See http://www.gotw.ca/resources/clcm.htm for info about ]
      [ comp.lang.c++.moderated.    First time posters: Do this! ]

0
Reply ISO 4/4/2008 7:33:37 AM

> Boost.Egg was announced for review just for April, 1st.
> [Actually March, 31th, but that was not so much difference].
> Large parts - if not most - of our developers where convinced
> that this was supposed to be an April Fool's joke. It was not
> only the date, but it's combination of the library's name "egg",
> which had these alarming consequences... ;-).

It is not a joke! :-)

> So, could anyone explain the reasons behind this naming
> decision? Maybe a relation to
>
> http://en.wikipedia.org/wiki/Chicken_%28Scheme_implementation%29

No.
I probably wanted to mean "egg of function".
In fact, there is no special reason.

I actually considered a renaming.
But "egg" didn't give boosters a bad impression,
so that the name was not changed.
BTW, I hear "Y-combinator" comes from a bird name.


Regards,

--
Shunsuke Sogame

--
      [ See http://www.gotw.ca/resources/clcm.htm for info about ]
      [ comp.lang.c++.moderated.    First time posters: Do this! ]

0
Reply shunsuke 4/6/2008 8:56:26 AM

3 Replies
175 Views

(page loaded in 0.1 seconds)


Reply: