Skip to content
  • Simon Peyton Jones's avatar
    Improve instanceCantMatch · 6e618d77
    Simon Peyton Jones authored
    When staring at instanceCantMatch I realised that it
    was returning False (safe but inefficient) when it could
    validly return True, on arguments like
       [Nothing,   Just Int]
       [Just Bool, Just Bool]
    
    This patch makes it a bit cleverer.
    6e618d77