[mercury-users] Typeclass constraint on HO (function) discriminator

Nicholas Nethercote njn at csse.unimelb.edu.au
Thu Apr 20 22:37:50 AEST 2006


On Thu, 20 Apr 2006, Ralph Becket wrote:

>>> [Please don't use DCGs for IO; use state variables instead.]
>>
>> Why not?
>
> It's an abuse of the notation: DCGs are for parsing.

Says who?  It's his code and it works.  Looks like a style issue to me.

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