Skip to content
Snippets Groups Projects
Forked from Glasgow Haskell Compiler / GHC
Source project has a limited visibility.
  • Simon Peyton Jones's avatar
    b0c0cae7
    Define ListSetOps.getNth, and use it · b0c0cae7
    Simon Peyton Jones authored
    I was tracking down an error looking like
      Prelude.(!!): index too large
    which is very unhelpful.  This patch replaces at least some uses
    of (!!) in GHC with getNth, which has a more helpful error
    message (with DEBUG anyway)
    b0c0cae7
    History
    Define ListSetOps.getNth, and use it
    Simon Peyton Jones authored
    I was tracking down an error looking like
      Prelude.(!!): index too large
    which is very unhelpful.  This patch replaces at least some uses
    of (!!) in GHC with getNth, which has a more helpful error
    message (with DEBUG anyway)
Code owners
Assign users and groups as approvers for specific file changes. Learn more.