1. 29 Sep, 2006 12 commits
  2. 28 Sep, 2006 4 commits
  3. 14 Sep, 2006 1 commit
  4. 17 Sep, 2006 1 commit
    • rjmccall@gmail.com's avatar
      Modify toArgs to parse quotes/escapes like /bin/sh · 3d9f1290
      rjmccall@gmail.com authored
      Addresses ticket #197, which asks for escape sequences to be supported directly (i.e.
      not only in dquoted strings) on :load commands in GHCI.  Fix modifies the toArgs
      function to parse its input like /bin/sh does, i.e. recognizing escapes anywhere
      and treating quoted strings as atomic chunks.  Thus:
        :load a\ b c\"d e" "f
      would parse with three arguments, namely 'a b', 'c"d', and 'e f'.
      toArgs is used to parse arguments for both :load and :main, but doesn't appear to
      be used elsewhere.  I see no harm in modifying both to be consistent -- in fact,
      the functionality is probably more useful for :main than for :load.
  5. 27 Sep, 2006 1 commit
  6. 26 Sep, 2006 1 commit
  7. 27 Sep, 2006 2 commits
  8. 26 Sep, 2006 1 commit
  9. 25 Sep, 2006 1 commit
    • simonpj@microsoft.com's avatar
      Fix newtype deriving properly (un-doing Audreys patch) · 171d4582
      simonpj@microsoft.com authored
      The newtype-deriving mechanism generates a HsSyn case expression looking
      like this
      	case (d `cast` co) of { ... }
      That is, the case expression scrutinises a dictionary.  This is 
      otherwise never seen in HsSyn, and it made the desugarer
      (Check.get_unused_cons) crash in tcTyConAppTyCon.
      It would really be better to generate Core in TcInstDecls (the newtype
      deriving part) but I'm not going to do that today.  Instead, I made
      Check.get_unused_cons a bit more robust.
      Audrey tried to fix this over the weekend, but her fix was, alas, utterly
      bogus, which caused mysterious failures later.  I completely undid this
      Anyway it should work now!
  10. 24 Sep, 2006 2 commits
  11. 23 Sep, 2006 12 commits
  12. 22 Sep, 2006 2 commits