tock-mirror/data
Neil Brown 759bc06a53 Fixed the type inference for operators
The previous system followed Jim Moores' description, which turns out to not be how KRoC does it, and different enough that lots of existing occam code was failing.

The new system makes two changes.  First, if there is only one suitable operator, given the types (taking Infer to be a wild-card) then it uses that operator, and can usually settle any remaining Infers.  Second, it uses the type context to narrow down the operators to only those that have a matching return type.  These changes seem enough to compile a lot of the trickier types.
2009-04-17 18:01:17 +00:00
..
AST.hs Added a few FORKING-related entries to the AST 2009-04-13 14:56:19 +00:00
CompState.hs Fixed the type inference for operators 2009-04-17 18:01:17 +00:00
Metadata.hs Merged the latest set of changes from the trunk into the Polyplate branch 2009-04-10 20:38:29 +00:00