Skip to content
Snippets Groups Projects
Forked from Iris / Iris
Source project has a limited visibility.
  • Robbert Krebbers's avatar
    a0348d7c
    Make type class inference for inG less eager. · a0348d7c
    Robbert Krebbers authored
    This way, it won't pick arbitrary (and possibly wrong!) inG instances
    when multiple ones are available. We achieve this by declaring:
    
      Hint Mode inG - - +
    
    So that type class inference only succeeds when the type of the ghost
    variable does not include any evars.
    
    This required me to make some minor changes throughout the whole
    development making some types explicit.
    a0348d7c
    History
    Make type class inference for inG less eager.
    Robbert Krebbers authored
    This way, it won't pick arbitrary (and possibly wrong!) inG instances
    when multiple ones are available. We achieve this by declaring:
    
      Hint Mode inG - - +
    
    So that type class inference only succeeds when the type of the ghost
    variable does not include any evars.
    
    This required me to make some minor changes throughout the whole
    development making some types explicit.