Commit Graph

9 Commits

Author SHA1 Message Date
Adam Sampson
c8d5a4ff40 Add licensing information.
The compiler itself is under the GPLv2+; the support code that gets built into
user programs is under the LGPLv2+. This matches the existing practice for the
KRoC project.

(As with Occade, I've used the new GPLv3-style license header in the source
files, though, since that avoids having to update the FSF's postal address.)
2007-08-18 20:42:11 +00:00
Neil Brown
8ab4299553 Refactored TreeUtil to provide Show and Eq instances for AnyDataItem, which allowed other functions to be simplified/removed 2007-08-18 14:46:57 +00:00
Neil Brown
fe5141d310 Changed the Either order in TreeUtil of getMatchedItems to match Haskell convention 2007-08-18 11:09:37 +00:00
Neil Brown
7e255f2218 Cleared up the error messages in assertPatternMatch in TreeUtil 2007-08-18 10:20:11 +00:00
Neil Brown
1cc005f829 Added checks for consistent patterns in checkMatch in TreeUtil 2007-08-18 10:09:09 +00:00
Neil Brown
e397e95364 Simplified the checkConsEq function a little in TreeUtil 2007-08-18 10:05:09 +00:00
Adam Sampson
5628f93db6 Fix some Haddock syntax (comments that shouldn't have been Haddock) 2007-08-17 18:21:29 +00:00
Neil Brown
e6d4425e82 Improved the printing of Patterns so that more helpful and readable output is produced when a test fails 2007-08-16 14:11:58 +00:00
Neil Brown
be340024ce Added some pattern matching utilities (mainly intended for matching the AST) 2007-08-16 12:18:48 +00:00