[mercury-users] Libraries and DCG convenience...

Peter Schachte peter at koan.cs.mu.OZ.AU
Tue Jun 22 20:20:09 AEST 1999


On Tue, Jun 22, 1999 at 02:43:17AM -0700, Luke Evans wrote:
> In the absence of the 'respectable tool' for this, I AM going to add wrapper
> predicates which move the 'GraphIn', 'GraphOut' variables to the end of the
> argument list, and then employ DCG's to make my list of Graph deltas much
> more approachable (and more easily modified).

Touche'.  A working solution today is better than the best solution tomorrow.
Which is why people still use DCGs for this sort of thing.

BTW, this is exactly why I took the trouble to write an emacs macro to
"renumber" the variables in a clause.  I use it all the time.

-- 
Peter Schachte                | I have made this a rather long letter
mailto:pets at cs.mu.OZ.AU       | because I haven't had time to make it
http://www.cs.mu.oz.au/~pets/ | shorter.
PGP: finger pets at 128.250.37.3 |     -- Blaise Pascal 

--------------------------------------------------------------------------
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