Hi CT,

Could you give some idea of what you would like to do?

Generics work in many cases, don't work in some cases. The alternative 
technique depends on what you need.

Vass

On 11/22/16 06:35, ct clmsn wrote:
> i've read in the testing tree that generic domains are a future feature for
> the language - is there an alternative technique that could be used in the
> meantime?
>
> the specific use case looks like this:
>
> https://github.com/chapel-lang/chapel/blob/694fea052e17da0634eb6797e0a85d38fc03bffa/test/domains/vass/generic-domain-field.chpl
>
> i've attempted using generics (below), but haven't had much success.
>
> class C {
>    var x;
> }
>
> thanks!
>
> ct
>
>
>
> ------------------------------------------------------------------------------
>
>
>
> _______________________________________________
> Chapel-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/chapel-users
>

------------------------------------------------------------------------------
_______________________________________________
Chapel-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/chapel-users

Reply via email to