[M3devel] NARROW(refanyValue, procedureType)

Dragiša Durić dragisha at m3w.org
Sun Apr 7 18:47:15 CEST 2013


Mika's idea is exactly what I needed.  I was cleaning some old code and ARRAY's of fixed size "emulating" collections are one my favourite targets :).  More than enough, and more than powerful enough, this mechanism is.
--
Dragiša Durić
dragisha at m3w.org



On Apr 7, 2013, at 6:21 PM, Rodney M. Bates wrote:

> Do you want all of the procedure values in the sequence to be the same
> procedure type?  If so, you should be able to just instantiate Sequence
> using an interface containing a T that is this procedure type.  No
> runtime NARROW overhead, and more static checking.
> 
> Otherwise, Mika's wrapping example should be extensible by having a different
> wrapper type around each needed procedure type.  Then they could be mixed and
> matched in a single sequence.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://m3lists.elegosoft.com/pipermail/m3devel/attachments/20130407/217cef9b/attachment-0002.html>


More information about the M3devel mailing list