[mercury-users] Named constants?
Peter Hawkins
peter at hawkins.emu.id.au
Thu May 13 11:27:07 AEST 2004
Hi...
How does one create some sort of named constant in Mercury? (as one might do
with a #define in C).
Should I just do this?
:- func my_constant = int.
my_constant = 42.
Surely there is a more compact notation...
=)
Peter
--------------------------------------------------------------------------
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