Ninety-Nine Picat Problems
These are solutions in Picat to the ninety-nine problems, originally posted as Prolog problems by Werner Hett. Solutions to the same problems can be found in Lisp and Haskell. The purpose of these solutions is to help learners with different backgrounds learn the Picat language. There are normally many different solutions to a problem. This collection includes one program that is considered the most natural in Picat for each problem. Some of the programs are very similar to Werner Hett's Prolog programs, but many others are different and concise, especially those that use functions, list comprehensions, loops, and constraints. |