Changes between Version 1 and Version 2 of Language/Overview/PolymorphicUpdate
- Timestamp:
- 08/26/10 02:18:23 (3 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Language/Overview/PolymorphicUpdate
v1 v2 52 52 Ultimately, the problem illustrated above arose because there wasn't a mechanism to track the sharing of data between successive calls to `getSet2`. When `makeGetSet` was evaluated it created a shared mutable object (the `box`) and then returned functions that had this object free in their closure. 53 53 54 In Disciple, `makeGetSet` has the fulltype:54 In Disciple, `makeGetSet` has the extended type: 55 55 {{{ 56 56 makeGetSet
