Changes between Version 12 and Version 13 of Records/OverloadedRecordFields


Ignore:
Timestamp:
Jan 15, 2012 8:34:17 PM (2 years ago)
Author:
strake888
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Records/OverloadedRecordFields

    v12 v13  
    374374 
    375375r = R { x = 256 }; 
    376 -- assign value 3 to r.x 
    377 let s = qfmap (undefined :: "x") (const 3) r in ... 
     376-- assign string value to r.x 
     377let s = qfmap (undefined :: "x") (const "Hello, world!") r in ... 
    378378}}} 
    379379