Mercury (programming language): Difference between revisions

Content deleted Content added
Aranel (talk | contribs)
m move cat per cfd
No edit summary
Line 1:
'''Mercury''' is a functional/logical [[programming language]] based on [[Prolog]], but designed to be more useful for real-world programming problems.
 
Mercury is compiled rather than interpreted as is traditional for [[logic programming|logic languages]]. It has a sophisticated, strict [[Data type|type]] and mode system. Its authors claim that these features and the abstract nature of logic programming make it easier to write reliable programs rapidly. Mercury's module system also makes it easy to divide logic programs up into self-contained modulesunits, a problem for logic programs in the past.
 
A sample piece of programming in Mercury looks like