1. 16 Jul, 2003 5 commits
    • sof's avatar
      [project @ 2003-07-16 17:40:38 by sof] · 788897b6
      sof authored
      - change prototype of async proc calls to
      
            typedef int (*DoProcProc)(void *param);
      
        i.e., have the proc return a result. Turned out that almost all
        uses of the primop ended up encoding a result via their 'param'.
      
      - when adding new I/O requests, shorten the time the IOManager
        lock is held. Helps to keep down the size of the thread pool.
      788897b6
    • sof's avatar
      [project @ 2003-07-16 15:27:36 by sof] · 3a3acbf4
      sof authored
      ppFilesFromSummaries.toPpFile: make it clear that file paths are being eq-tested here
      3a3acbf4
    • simonmar's avatar
      [project @ 2003-07-16 13:33:55 by simonmar] · daa4b9df
      simonmar authored
      Put a newline after showing an I/O error.
      daa4b9df
    • simonmar's avatar
      [project @ 2003-07-16 13:13:50 by simonmar] · c2e52617
      simonmar authored
      Respect -odir in one-shot compilations.
      c2e52617
    • ross's avatar
      [project @ 2003-07-16 08:49:01 by ross] · 98232a61
      ross authored
      Arrow notation: add a new (more primitive) form of command:
      
      	cmd ::= ... | cmd aexp
      
      analogous to ordinary application, and also represented using HsApp.
      To avoid an overlap, the syntax for combining forms is changed to
      
      	(|aexp cmd1 ... cmdn|)
      98232a61
  2. 15 Jul, 2003 1 commit
  3. 12 Jul, 2003 4 commits
  4. 11 Jul, 2003 1 commit
  5. 10 Jul, 2003 4 commits
  6. 09 Jul, 2003 3 commits
    • simonpj's avatar
      [project @ 2003-07-09 12:51:37 by simonpj] · ed5abcc9
      simonpj authored
      Remove redundant Var.hi-boot
      ed5abcc9
    • simonpj's avatar
      [project @ 2003-07-09 11:08:03 by simonpj] · 983d2d8e
      simonpj authored
      ---------------------------------------
      	Wibble to GHCi constraint simplification
      	---------------------------------------
      
      The new GHCi constraint-simplification story, with defaulting for
      Show, Eq, Ord, should only apply to command-line expressions, not
      to modules loaded by GHCi.
      
      Hence new variant, TcSimplify.tcSimplifyInteractive
      983d2d8e
    • simonpj's avatar
      [project @ 2003-07-09 11:06:31 by simonpj] · f8031f57
      simonpj authored
      --------------------------
      	Fix two External-Core bugs
      	--------------------------
      
      1.  An inadvertent "let x = ...x..." bug in TcRnDriver
      
      2.  Adjust the new -main-is story, so that the root module is called
      	":Main" instead of "$Main".
          This means that the z-encoded module name is "ZCMain" rather than "zdMain",
          which in keeps the External-Core lexer happy.  And is more consistent generally.
      
      3.  Make the renamer happy to see definitions from modules other than the "home" one,
          when doing External Core.  In the main module, there'll be a definition for
          ZCMain.main.
      f8031f57
  7. 03 Jul, 2003 6 commits
    • simonpj's avatar
      [project @ 2003-07-03 16:22:16 by simonpj] · 38c8801e
      simonpj authored
      -----------------------
      	Type defaulting in GHCi
      	-----------------------
      
      	[Merge to stable branch, I think.]
      
      [Part 2 to this commit: add Eq and Ord, to allow
      
      	[] == []
      
      at the prompt.
      
      
            Extend type defaulting in GHCi so that
      
      	ghci>  []
      	[]
      
            works.  Suggested by Ralf Hinze.
      38c8801e
    • sof's avatar
      [project @ 2003-07-03 15:14:56 by sof] · 18340925
      sof authored
      New primop (mingw only),
      
        asyncDoProc# :: Addr# -> Addr# -> State# RealWorld-> (# State# RealWorld, Int#, Int# #)
      
      which lets a Haskell thread hand off a pointer to external code (1st arg) for
      asynchronous execution by the RTS worker thread pool. Second arg is data passed
      in to the asynchronous routine. The routine is _not_ permitted to re-enter
      the RTS as part of its execution.
      18340925
    • simonpj's avatar
      [project @ 2003-07-03 14:33:18 by simonpj] · 5affd811
      simonpj authored
      -----------------------
      	Type defaulting in GHCi
      	-----------------------
      
      	[Merge to stable branch, I think.]
      
      
      Extend type defaulting in GHCi so that
      
      	ghci>  []
      	[]
      
      works.  Suggested by Ralf Hinze.
      5affd811
    • simonpj's avatar
      [project @ 2003-07-03 14:32:30 by simonpj] · 6a1c0fe4
      simonpj authored
      Add pointer to TH home page
      6a1c0fe4
    • simonpj's avatar
      [project @ 2003-07-03 10:55:41 by simonpj] · 5bb5efc2
      simonpj authored
      Trim more imports
      5bb5efc2
    • simonpj's avatar
      [project @ 2003-07-03 10:35:37 by simonpj] · c7b2a8e7
      simonpj authored
      Dont report assert as unused; merge to stable
      c7b2a8e7
  8. 02 Jul, 2003 5 commits
    • ross's avatar
      [project @ 2003-07-02 19:41:20 by ross] · 3cf18a53
      ross authored
      import fix
      3cf18a53
    • simonpj's avatar
      [project @ 2003-07-02 14:59:00 by simonpj] · 05afb748
      simonpj authored
      Some random import trimming
      05afb748
    • stolz's avatar
      [project @ 2003-07-02 13:57:10 by stolz] · e34efb98
      stolz authored
      autoconf probably knows best about vfork()
      e34efb98
    • simonpj's avatar
      [project @ 2003-07-02 13:18:24 by simonpj] · 96fd092f
      simonpj authored
      Fixes two minor bugs that I came across in the old
      CgCase code generation:
      
      1. We were generating
      	tmp = Sp[1]
      	... more uses of Sp[1]....
      instead of
      	tmp = Sp[1]
      	... more uses of tmp....
      in the (case v of ...prim alts...) situation
      
      2. The cost-centre restoration wasn't right for let-no-escapes
      
      I kept this fix separate, becuase it does change the code generated
      slightly.
      96fd092f
    • simonpj's avatar
      [project @ 2003-07-02 13:12:33 by simonpj] · 3f5e4368
      simonpj authored
      ------------------------
             Tidy up the code generator
      	------------------------
      
      The code generation for 'case' expressions had grown
      huge and gnarly.  This commit removes about 120 lines of
      code, and makes it a lot easier to read too. I think the code
      generated is identical.
      
      Part of this was to simplify the StgCase data type, so
      that it is more like the Core case: there is a simple list
      of alternatives, and the DEFAULT (if present) must be the
      first.  This tidies and simplifies other Stg passes.
      3f5e4368
  9. 01 Jul, 2003 5 commits
  10. 30 Jun, 2003 5 commits
  11. 27 Jun, 2003 1 commit