[mercury-users] The Logic of Mercury

Lee Naish lee at cs.mu.OZ.AU
Thu Sep 9 17:20:23 AEST 1999


In message <86k8q1hgp9.fsf at king.ki.informatik.uni-frankfurt.de>you write:
>Lee> append :: list(T) -> list(T) -> list(T) -> pred
>Lee> ',' :: pred -> pred -> pred
>
>This may be a stupid question, but what is unfortunate for the
>intuition with the above? I don't get it.

If you consider relational programming is better than functional programming
("functions are a special case of predicates" rather then the converse)
but then view relations as functions when it comes to types its a bit of a
contradiction.

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