Boost logo

Boost :

From: Paul A. Bristow (boost_at_[hidden])
Date: 2003-08-08 09:47:22

| -----Original Message-----
| From: boost-bounces_at_[hidden]
| [mailto:boost-bounces_at_[hidden]]On Behalf Of Brian McNamara
| Sent: Tuesday, July 29, 2003 5:43 AM
| To: Boost mailing list
| Subject: Re: [boost] Re: Preliminary submission: FC++
| Based on David's suggestion, I'll try to briefly define all the terms
| I've used in my earlier post.

This is most helpful and shows impressive potential.

But there is quite a lot to curry ones mind ;-)

May I suggest that as well as promised documentation,
the excellent set of examples would benefit from a couple of enhancements:

1 Paste the output at the end as a comment,


Output is:
2 4 6 8 10


2 paste output or notes for more significant lines as a comment, for example:

f(3, 2); // yields 5

3 Don't put

using namespace boost::fcpp;

but instead

using fcpp::plus;
using fcpp::minus; ...

so the less functional programmer can see immediately what fcpp is providing for
this module.

(Just as using std::cout; std::transform; is very helpful to the less STL

4 And of course examples like BOOST_CHECK(plus(2, 2) == 4); will also be useful
to readers as well as providing a test suite.

I look forward to getting my mind further round this stuff.


Paul A Bristow, Prizet Farmhouse, Kendal, Cumbria, LA8 8AB UK
+44 1539 561830 Mobile +44 7714 33 02 04
Mobile mailto:pabristow_at_[hidden]

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