Changes between Version 31 and Version 32 of Internships/JanStolarek


Ignore:
Timestamp:
Jul 17, 2013 3:39:46 PM (2 years ago)
Author:
jstolarek
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Internships/JanStolarek

    v31 v32  
    133133
    134134  * `cmm/CmmUtils.hs`, function `toBlockListEntryFirst` - perhaps it would be safer to return a tuple in this case? This would probably make the invariant more explicit.
    135   *
    136 {{{
    137 boxConTbl :: [(Type, RdrName)]
    138 boxConTbl
    139   = [(charPrimTy,       getRdrName charDataCon)
    140     ,(intPrimTy,        getRdrName intDataCon)
    141     ,(wordPrimTy,       wordDataCon_RDR)
    142     ,(floatPrimTy,      getRdrName floatDataCon)
    143     ,(doublePrimTy,     getRdrName doubleDataCon)
    144     ]
    145 }}}
    146 Don't remember where i found that one, but I wonder why wordPrimTy is implemented differently.
    147135
    148136== Wiki ==