This programming language may be used to instruct a computer to perform a task.
If you know Mercury, please write code for some of the tasks not implemented in Mercury.
Mercury is a purely declarative functional logic programming language geared towards real-world applications. It is related to both Prolog and Haskell. It features a strong, static, polymorphic type system, as well as a strong mode and determinism system.
This category has the following 3 subcategories, out of 3 total.
Pages in category "Mercury"
The following 120 pages are in this category, out of 120 total.
- Sieve of Eratosthenes
- Sort an integer array
- Sorting algorithms/Heapsort
- Sorting algorithms/Merge sort
- Sorting algorithms/Patience sort
- Sorting algorithms/Quicksort
- String case
- String concatenation
- String length
- String prepend
- Strip whitespace from a string/Top and tail
- Sum of squares
- Symmetric difference
- Synchronous concurrency