Changes between Version 21 and Version 22 of Internships/JanStolarek


Ignore:
Timestamp:
Jul 11, 2013 5:47:16 PM (9 months ago)
Author:
jstolarek
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Internships/JanStolarek

    v21 v22  
    107107  * `cmm/CmmRewriteAssignments.hs` is not used at all? 
    108108  * `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. 
     109  *  
     110{{{ 
     111boxConTbl :: [(Type, RdrName)] 
     112boxConTbl 
     113  = [(charPrimTy,       getRdrName charDataCon) 
     114    ,(intPrimTy,        getRdrName intDataCon) 
     115    ,(wordPrimTy,       wordDataCon_RDR) 
     116    ,(floatPrimTy,      getRdrName floatDataCon) 
     117    ,(doublePrimTy,     getRdrName doubleDataCon) 
     118    ] 
     119}}} 
     120Don't remember where i found that one, but I wonder why wordPrimTy is implemented differently. 
    109121 
    110122== Wiki ==