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


Ignore:
Timestamp:
Aug 26, 2010, 12:48:09 AM (9 years ago)
Author:
benl
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Alpha/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'