Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r65917 - sandbox/variadic_templates/boost/composite_storage
From: cppljevans_at_[hidden]
Date: 2010-10-11 18:56:10


Author: cppljevans
Date: 2010-10-11 18:56:08 EDT (Mon, 11 Oct 2010)
New Revision: 65917
URL: http://svn.boost.org/trac/boost/changeset/65917

Log:
Add comment about monoidal catetory.

Text files modified:
   sandbox/variadic_templates/boost/composite_storage/special_components.hpp | 12 ++++++++++++
   1 files changed, 12 insertions(+), 0 deletions(-)

Modified: sandbox/variadic_templates/boost/composite_storage/special_components.hpp
==============================================================================
--- sandbox/variadic_templates/boost/composite_storage/special_components.hpp (original)
+++ sandbox/variadic_templates/boost/composite_storage/special_components.hpp 2010-10-11 18:56:08 EDT (Mon, 11 Oct 2010)
@@ -9,6 +9,18 @@
 namespace special_components
 {
     enum special_id
+ //2010-10-11.1748CST
+ // Maybe there should be enum's, e.g.
+ // one
+ // zero
+ // designating the unit for all_of_aligned
+ // and the unit for one_of_maybe
+ // corresponding to the
+ // product's unit and the coproduct's unit
+ // as described here:
+ //
+ // http://en.wikipedia.org/wiki/Monoidal_category
+ //
     { nothing_id //signifies error, something like haskell's Nothing.
     , empty_id //signifies empty class.
     };


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk