[cvs-nhc98] patch applied (hat): Small changes towards getting traced-numerics to work. In a Fractional

Malcolm Wallace Malcolm.Wallace at cs.york.ac.uk
Tue Oct 10 06:59:20 EDT 2006


Tue Aug 22 02:52:05 PDT 2000  malcolm
  * Small changes towards getting traced-numerics to work.  In a Fractional
  context where the type is unknown, we can't resolve a literal to either
  Float or Double at compile-time, so we have to generate `fromRational l'
  where the literal l is a constructed Rational.  Unfortunately,
  traced Rationals have a pretty complex structure, so we have to augment
  the auxiliary `conRational' with extra arguments in order to build
  the traced literal Rational correctly.  It still doesn't work though.  :-(

    M ./src/compiler98/Case.hs -3 +2
    M ./src/compiler98/DbgId.hs +1
    M ./src/compiler98/FixSyntax.hs -23 +43
    M ./src/compiler98/STGState.hs -1 +4


More information about the Cvs-nhc98 mailing list