Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Branch: partial-sigs
Commits on Jun 10, 2014
  1. @dominiquedevriese

    Slight modification of Thomas' last fix in order to keep the annotate…

    dominiquedevriese authored committed
    …d constraints first in the inferred type
  2. @dominiquedevriese
  3. @dominiquedevriese

    implement extra constraints wildcard

    dominiquedevriese authored committed
  4. @dominiquedevriese

    a new approach at generalisation of partial type signatures, which ta…

    dominiquedevriese authored committed
    …kes into account annotated constraints...
  5. @dominiquedevriese

    oops, remove some unused code

    dominiquedevriese authored committed
  6. @dominiquedevriese

    return type variables from named wildcards, for safety like for type …

    dominiquedevriese authored committed
    …variables in extract_lty since this seems safer...
  7. @dominiquedevriese

    extra test for scoped named wildcards

    dominiquedevriese authored committed
  8. @dominiquedevriese
  9. @dominiquedevriese

    adapt expected failure output of test

    dominiquedevriese authored committed
  10. @dominiquedevriese

    add a comment to test

    dominiquedevriese authored committed
  11. @dominiquedevriese

    add should_fail test for scoped named wildcards

    dominiquedevriese authored committed
  12. @dominiquedevriese
  13. @dominiquedevriese

    Fix renaming of partial type signatures: named wildcards are in scope…

    dominiquedevriese authored committed
    … in the code below...
  14. @dominiquedevriese

    Remove some ad hoc logic for the generalisation of wildcards. Instead…

    dominiquedevriese authored committed
    …, make some modifications to generalise wildcards through the same channels as when a type signature is absent. Specifically,
    
    * make a type signature hold a list of bound wildcards
    * make sure meta-variables from wildcards are not considered global type variables in the type checker, when adding the type signatures to the environment
    * modify the generalisation logic to consider the metavariables in the type signature for generalisation.
  15. @dominiquedevriese

    Meaningful type variable names for named wildcards

    dominiquedevriese authored committed
    When generating meta type variables for named wildcards, keep their names
    intact. Also, change their names from _a to tw_a when generalising.
Something went wrong with that request. Please try again.