[mercury-users] Square types
Michael Day
mikeday at corplink.com.au
Thu Jun 7 20:51:15 AEST 2001
Hi,
Is it possible to define a type in Mercury that can hold N items, where N
is equal to X*X for any X?
Basically a list restricted to holding either 1, 4, 9, 16 ... items rather
than an arbitrary amount.
Any ideas?
Michael
--------------------------------------------------------------------------
mercury-users mailing list
post: mercury-users at cs.mu.oz.au
administrative address: owner-mercury-users at cs.mu.oz.au
unsubscribe: Address: mercury-users-request at cs.mu.oz.au Message: unsubscribe
subscribe: Address: mercury-users-request at cs.mu.oz.au Message: subscribe
--------------------------------------------------------------------------
More information about the users
mailing list