Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Commits on May 6, 2007
  1. @mchakravarty
Commits on May 5, 2007
  1. @igfoo
  2. @igfoo
  3. @igfoo

    Tweak ... generation

    igfoo authored
        let x ...
    i.e. always put the = in:
        let x = ...
  4. @igfoo

    Tweak the ... generation

    igfoo authored
Commits on May 4, 2007
  1. @mchakravarty
  2. @mchakravarty
  3. @igfoo

    Panic properly if wrongKindOfFamily is given an unexpected family

    igfoo authored
    Used to just give a "Non-exhaustive patterns" failure
  4. @igfoo
  5. @igfoo

    libraries/filepath/ is boring

    igfoo authored
  6. Warning police authored
  7. Make -frewrite-rules into a dynamic flag; off for -O0 authored
    Argubly rewrite rules should not fire with -O0, and it turns
    out that when compiling GHC.Base with -O0 we get a crash if
    the rewrite rules do fire (see Note [Scoping for Builtin rules]
    in PrelRules).
    So unless someone yells, rewrite rules are off with -O0.
    The new (now dynamic) flag is 
        -frewrite rules (with -fno-rewrite-rules to disable)
    The old (static) flag -frules-off is gone.
  8. Improve printing of "..." in HsExpr; fixes a stupidity in my earlier … authored
  9. Fix the pruning of dead case alternatives authored
    This fixes Trac #1251; test case is gadt/CasePrune
    GHC was being over-eager about pruning dead alternatives from case
    expressions, and that led to a crash because the case expression 
    ended up with no alternatives at all!
    See the long comments Note [Pruning dead case alternatives] in Unify.
  10. Warning police authored
  11. isDataTyCon should be False for all type families, even data type fam… authored
    isDataTyCon advertises that it's true of "data types that are
    definitely represented by heap-allocated constructors.  These are
    srcutinised by Core-level @case@ expressions, and they get info tables
    allocated for them."
    Type-family TyCons never have this property, not even data type families.
    It's the *instance* TyCons that do.
    I hope that this change does not break anything that somehow relied
    on the old (wrong) semantics.
Commits on May 3, 2007
  1. @int-e

    fix exit code of ghci -e "return ()"

    int-e authored
    This should result in successful program termination. Not doing this
    breaks checking the exit code of  runghc Setup.lhs build  for example.
  2. Fix dependency information for RULES authored
    A SpecInfo (inside IdInfo) keeps track of the free variables of a RULE
    so that the occurrency analyser knows about its dependencies.
    Previously it was only tracking the *rhs* free vars, but it should
    really include the *lhs* ones too.  See Note [Rule dependency info]
    in IdInfo.
    This fixes a WARNING when compiling some libraries.
  3. Less voluminous debug authored
  4. Remove "__" prefix for forall when printing a RULE authored
  5. Add the -ddump-mod-cycles flag to the user manual authored
  6. @igfoo

    Fix truncate on amd64 NCG; fixes arith005.

    igfoo authored
    cvts[sd]2siq? ->
  7. @igfoo
  8. Use a primop for getting the fields of the AP_STACK rather than an FF…

    Simon Marlow authored
    …I call
    This means we can avoid some StablePtrs, and also catch cases where
    the AP_STACK has been evaluated (this can happen with :history, see
    the hist001 test).
  9. improve the :list command

    Simon Marlow authored
    Now you can list source code in various ways:
      :list <line>
      :list <module> <line>
      :list <function>
  10. @igfoo
  11. @igfoo

    Only touch the configure stamp if configure succeeds

    igfoo authored
    We don't touch $@ if configure failed as we would prefer to try
    configuring it next time round, rather than assuming it'll still fail.
    This is particularly important for corelibs, where failure means the
    build dies!
  12. Add history/trace functionality to the GHCi debugger

    Simon Marlow authored
    The debugger can now log each step of the evaluation without actually
    stopping, keeping a history of the recent steps (currently 50).  When
    a (real) breakpoint is hit, you can examine previous steps in the
    history (and their free variables) using the :history, :back and
    :forward commands.
  13. use extendInteractiveContext instead of custom code

    Simon Marlow authored
  14. use the reader part of the monad for the inScope set

    Simon Marlow authored
  15. @igfoo

    Make coreSyn/CoreUtils.lhs compile

    igfoo authored
    Use the right number of arguments in a panic case.
Commits on May 1, 2007
  1. @catamorphism

    Remove references to -fticky-ticky flag

    catamorphism authored
    -ticky is the command-line flag for ticky-ticky profiling now, but
    internally, the -fticky-ticky flag was used to represent whether ticky
    was on. This led to link errors if the user supplied -fticky-ticky but
    not -ticky (ticky code would be generated but the wrong RTS library
    would be passed to the linker). I removed references to -fticky-ticky
    -- now, only the way flags dictate whether ticky is on, and
    -fticky-ticky is no longer accepted as a command-line option.
Commits on Apr 30, 2007
  1. @alec

    Build arrows library if available

    alec authored
    arrows is the only library in libraries/extra-packages not built when present
  2. @igfoo
Something went wrong with that request. Please try again.