1. 06 Jul, 1999 14 commits
  2. 05 Jul, 1999 8 commits
    • sof's avatar
      [project @ 1999-07-05 19:26:42 by sof] · 60e60f66
      sof authored
      Temporary workaround for problem which caused the following program
        main = putStrLn ("aa" ++ IOExts.trace "bb" "cc")
      to deadlock - when the (untouched) stderr is evaluated (which
      IOExts.trace forces), it will touch stdout (see code for details of
      why), but it has already been locked by putStrLn. Boom - game over.
      This temporary 'fix' is, to put it kindly, in the fancy-footwork
      category as it doesn't solve the problem, but merely turns it on its
      head. Instead of stderr depending on stdout, stdout now depends on
      stderr, so the following program will deadlock
        main = hPutStrLn stderr ("aa" ++ myTrace "bb" "cc")
        myTrace msg v = unsafePerformIO $ do
           putStrLn msg
           return v
      The 'theory' is that this is far less likely to occur in practice than
      the other way around.
      The next step / real solution would be to give up the lock on an
      output Handle while filling up its output buffer. However, that
      requires ripping out / re-org'ing a fair bit of buffer management
      code, which I'll delay doing.
    • sof's avatar
      [project @ 1999-07-05 18:53:53 by sof] · 2455da3a
      sof authored
      Remove -#include "RtsAPI.h" - you now get it for free.
    • sof's avatar
      [project @ 1999-07-05 17:25:23 by sof] · 45adecbe
      sof authored
      Stg.h contains all the defs and protos that are visible when compiling
      .hc code (==> .hs code). Augment this set with the externally visible
      RTS API.
    • sof's avatar
      [project @ 1999-07-05 17:06:21 by sof] · 276f03b2
      sof authored
      Tidied up the handling of the code that emits the precedence level
      predicates that gets used in applications of showParen and readParen.
    • sof's avatar
      [project @ 1999-07-05 17:02:42 by sof] · ee731a02
      sof authored
      Two new Dark Corner regression tests:
      - testing the derived Show&Read instances for constructors with
        a field label that is a varsym rather than a varid.
      - check that the default fixity & assoc of an operator is 'infixl 9'.
    • sof's avatar
      [project @ 1999-07-05 16:55:19 by sof] · df7cb092
      sof authored
      New option, -fail, to indicate failure (whatever the return code).
    • simonpj's avatar
      [project @ 1999-07-05 15:30:25 by simonpj] · 8ae0e52a
      simonpj authored
      Make sure that instance gates have their home modules
      loaded by RnIfaces.getImportedInstDecls.  This was causing
      Kevin Atkinson's missing-instance bug.
    • sof's avatar
      [project @ 1999-07-05 14:47:06 by sof] · 8be66682
      sof authored
      * If a field label is a 'varsym', wrap parens around it when
        Show'ing and Read'ing it back in.
      * If there's no fixity decl for a 'consym', the default is
        for it to be left-assoc.
  3. 03 Jul, 1999 4 commits
  4. 02 Jul, 1999 1 commit
  5. 01 Jul, 1999 3 commits
  6. 30 Jun, 1999 3 commits
  7. 29 Jun, 1999 7 commits