Boost logo

Boost :

Subject: Re: [boost] De Bruijn Bind (alternate bind syntax) Interest?
From: Stewart, Robert (Robert.Stewart_at_[hidden])
Date: 2010-09-02 13:10:08

David Sankel wrote:
> I've been working on an alternate bind syntax based on De
> Bruijn indices[1].

I started to look at the Wikipedia page, but realized there was way too much for me to learn to even begin to understand what you mean. Therefore, this reference is of no value to anyone without your background.

> The syntax is very simple, yet the terms are very powerful.

I must take your word for it.

> Here is an example of a function const that takes in an argument c and
> returns another function that, for all input, returns c:
> //ëx.ëy.x = ëë1 with De Bruijn indices.
> auto const_ = abs<1>( abs<1>( var<1,0>() ) );

Presumably, "abs" doesn't mean absolute value as it would in pretty much any other programming context. That seems unwise at best.

> More examples, further explanation, and an implementation are
> available here[2].

I found your README. The grammar section assumes I know what you mean by "abstraction" and "application," at the least, which I don't. The examples section does absolutely nothing for me as I don't understand the syntax or terminology. The result is that I can't make anything of your *bind* proposal.

Rob Stewart robert.stewart_at_[hidden]
Software Engineer, Core Software using std::disclaimer;
Susquehanna International Group, LLP

IMPORTANT: The information contained in this email and/or its attachments is confidential. If you are not the intended recipient, please notify the sender immediately by reply and immediately delete this message and all its attachments. Any review, use, reproduction, disclosure or dissemination of this message or any attachment by an unintended recipient is strictly prohibited. Neither this message nor any attachment is intended as or should be construed as an offer, solicitation or recommendation to buy or sell any security or other financial instrument. Neither the sender, his or her employer nor any of their respective affiliates makes any warranties as to the completeness or accuracy of any of the information contained herein or that this message or any of its attachments is free of viruses.

Boost list run by bdawes at, gregod at, cpdaniel at, john at