Bill Allombert on Tue, 24 Jun 2003 15:02:09 +0200


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: structure and type


On Tue, Jun 24, 2003 at 04:43:27PM +0200, markus endres wrote:
> hallo together,
> 
> of course, I can write something like
> 
> if(type(module) == "t_VEC"  && length(module) == 5 , ......
> 
> 
> but I want something shorter like
> 
> if(type(module) == ModuleType, ...
> 
> where ModuleType represents the 5-component vector as above. 
> 
> is there any possibility?

No, there are not any for the time being. We have a three year old
plan to implement that, but it is not done yet.

nfinit/bnfinit/galoisinit use the first approach.

Cheers,
Bill.