[mercury-users] multiple main predicates
    Michael Day 
    mikeday at bigpond.net.au
       
    Thu Jul 11 18:05:27 AEST 2002
    
    
  
A module foo includes sub modules bar and meep, each of which are intended
to be separate programs and hence contain their own main predicates. foo
itself does not contain a main predicate.
This used to compile on 2002-05-12 although it generated errors about 
duplicate main predicates which went away if the build was repeated. 
However on 2002-07-09 the errors don't go away.
Is this really an error? It's handy to have sub modules be programs
sometimes.
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