Skip to content
  • chak@cse.unsw.edu.au.'s avatar
    Fix handling of family instances in the presense of this doc stuff · f39ff24b
    chak@cse.unsw.edu.au. authored
    - Not sure whether I do the right thing, because I don't understand the
      doc stuff.  However, the original code was definitely wrong and
      breaking the renaming of family instance declarations.
    - The important point is that in
    
        data instance T pats = rhs
    
      T is *not* a defining occurence of T (similarly as C is not a defining
      occurence in "instance C Int").
    f39ff24b