[m-rev.] for review: java enumerations
Peter Wang
novalazy at gmail.com
Tue May 26 20:33:30 AEST 2009
On 2009-05-26, Julien Fischer <juliensf at csse.unimelb.edu.au> wrote:
>
> In principle, there's no reason that `:- pragma foreign_enum' couldn't
> use Java enums in the java grade. I certainly intended it to work with
> target languages that support stongly typed enumerations, i.e. not C
> style ones.
Can you explain? From what I have read, you can't assign ordinal values
manually with Java enums.
Peter
--------------------------------------------------------------------------
mercury-reviews mailing list
Post messages to: mercury-reviews at csse.unimelb.edu.au
Administrative Queries: owner-mercury-reviews at csse.unimelb.edu.au
Subscriptions: mercury-reviews-request at csse.unimelb.edu.au
--------------------------------------------------------------------------
More information about the reviews
mailing list