Skip to content
Commits on May 6, 2007
  1. @mchakravarty
Commits on May 5, 2007
  1. @igfoo
  2. @igfoo
  3. @igfoo

    Tweak ... generation

    Avoid:
        let x ...
    i.e. always put the = in:
        let x = ...
    igfoo committed May 5, 2007
  4. @igfoo

    Tweak the ... generation

    igfoo committed May 5, 2007
Commits on May 4, 2007
  1. @mchakravarty
  2. @mchakravarty

    Added VectInfo to ModGuts

    mchakravarty committed May 4, 2007
  3. @igfoo

    Panic properly if wrongKindOfFamily is given an unexpected family

    Used to just give a "Non-exhaustive patterns" failure
    igfoo committed May 4, 2007
  4. @igfoo
  5. @igfoo

    libraries/filepath/ is boring

    igfoo committed May 4, 2007
  6. Warning police

    simonpj@microsoft.com committed May 4, 2007
  7. Make -frewrite-rules into a dynamic flag; off for -O0

    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.
    simonpj@microsoft.com committed May 4, 2007
  8. Improve printing of "..." in HsExpr; fixes a stupidity in my earlier …

    …change
    simonpj@microsoft.com committed May 4, 2007
  9. Fix the pruning of dead case alternatives

    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.
    simonpj@microsoft.com committed May 4, 2007
  10. Warning police

    simonpj@microsoft.com committed May 4, 2007
  11. isDataTyCon should be False for all type families, even data type fam…

    …ilies
    
    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.
    simonpj@microsoft.com committed May 4, 2007
Commits on May 3, 2007
  1. @int-e

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

    This should result in successful program termination. Not doing this
    breaks checking the exit code of  runghc Setup.lhs build  for example.
    int-e committed May 3, 2007
  2. Fix dependency information for RULES

    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.
    simonpj@microsoft.com committed May 3, 2007
  3. Less voluminous debug

    simonpj@microsoft.com committed May 3, 2007
  4. Remove "__" prefix for forall when printing a RULE

    simonpj@microsoft.com committed May 3, 2007
  5. Add the -ddump-mod-cycles flag to the user manual

    simonpj@microsoft.com committed May 3, 2007
  6. @igfoo

    Fix truncate on amd64 NCG; fixes arith005.

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

    …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).
    Simon Marlow committed May 3, 2007
  9. improve the :list command

    Now you can list source code in various ways:
      :list <line>
      :list <module> <line>
      :list <function>
    Simon Marlow committed May 3, 2007
  10. @igfoo
  11. @igfoo

    Only touch the configure stamp if configure succeeds

    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!
    igfoo committed May 3, 2007
  12. Add history/trace functionality to the GHCi debugger

    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.
    Simon Marlow committed May 3, 2007
  13. use extendInteractiveContext instead of custom code

    Simon Marlow committed May 3, 2007
  14. use the reader part of the monad for the inScope set

    Simon Marlow committed May 3, 2007
  15. @igfoo

    Make coreSyn/CoreUtils.lhs compile

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

    Remove references to -fticky-ticky flag

    -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.
    catamorphism committed May 1, 2007
Commits on Apr 30, 2007
  1. @alec

    Build arrows library if available

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