1. 27 Apr, 2001 14 commits
  2. 26 Apr, 2001 8 commits
  3. 25 Apr, 2001 2 commits
  4. 24 Apr, 2001 13 commits
  5. 23 Apr, 2001 3 commits
    • lewie's avatar
      [project @ 2001-04-23 19:34:57 by lewie] · b5f00004
      lewie authored
      Fix for infix decl w/ infix data constructor.
      GHC was rejecting this:
      
          infix 2 |-
          ps  |-  q:qs = undefined
      
      It parses the def as ((ps |- q) : qs), and doesn't have the fixity info
      around at the point where it decides what is being defined.  Lacking
      anything else to go on, it decides that `:' is being defined.
      
      Fortunately, we don't really need fixity info to parse this correctly,
      as a data constructor is always the wrong choice ;-)  The fix is to
      dive into the left-hand-side until we find a non-data constructor.
      
      This is naive - consider the case where `|-' has a high precedence.
      Fortunately, someone clever put in a static check later on, presumably
      at the point where we have all the fixity info, that rejects the definition
      as bogus.  Yeah!
      b5f00004
    • lewie's avatar
      [project @ 2001-04-23 19:25:06 by lewie] · 23c27aa2
      lewie authored
      Adding tests for infix decls w/ infix data constructors
      23c27aa2
    • sewardj's avatar
      [project @ 2001-04-23 16:50:48 by sewardj] · 13890651
      sewardj authored
      Generate a plausible value for NO_READLINE.
      13890651