Changes between Version 4 and Version 5 of Language/Overview/DestructiveUpdate

Show
Ignore:
Timestamp:
08/26/10 01:48:09 (4 years ago)
Author:
benl (IP: 203.206.176.236)
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Language/Overview/DestructiveUpdate

    v4 v5  
    3737{{{ 
    3838 main () 
    39   = do   point  = Point 2.0 3.0  -- construct a new point 
     39  = do   point  = Point 2.0 3.0         -- construct a new point 
    4040         putStrLn $ show point               -- prints '(2.0, 3.0)'  
    4141         putStrLn $ show point.x             -- prints '2.0'