patch applied (hat): Small changes towards getting traced-numerics to work. In a Fractional
10 Oct
2006
10 Oct
'06
10:59 a.m.
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
7025
Age (days ago)
7025
Last active (days ago)
0 comments
1 participants
participants (1)
-
Malcolm Wallace