pugs-comm...@feather.perl6.nl wrote:
Author: colomon
Date: 2010-07-16 20:39:33 +0200 (Fri, 16 Jul 2010)
New Revision: 31735

Modified:
   docs/Perl6/Spec/S32-setting-library/Numeric.pod
Log:
[spec] Say a bit about Numeric operators and Bridge.

+Users who provide their own scalar real numeric types are encouraged to 
implement the
+C<Real> role.  Because all C<Real> types are well-ordered, it is desirable 
that any two
+C<Real> types be mutally compatiable, even if they are not aware of each 
other.  The
+current proposal requires you to define a C<Bridge> method in your C<Real> 
type, which
+converts your type into a neutral C<Real> type by restating it in terms of the 
fundamental
+Perl 6 types and calling C<Bridge> on them.  This then makes the default 
C<Real> methods
+and operators all work with your C<Real> type.  While the name of this method 
may changed,
+it is hoped that something like this will remain in the spec.

Is there some type or role named "Bridge", such that "Bridge" would be casting as such? Because if not, I would think you'd want the method to not be capitalized, unless there is some other precedent for doing so. -- Darren Duncan

Reply via email to