Changes between Version 3 and Version 4 of Language/Overview/EvaluationOrder
- Timestamp:
- 08/26/10 01:42:27 (3 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Language/Overview/EvaluationOrder
v3 v4 48 48 suspend2 f1 x1 x2 49 49 }}} 50 51 Suspending a function application requires it to have no visible side effects (be pure). This is achieved by adding effect constraints to the types of the spend functions. The type of @suspend1@ is approximately: 52 53 {{{ 54 suspend1 :: Pure !e => (a -(!e)> b) -> a -> b 55 }}} 56 57 Where @!e@ identifies the effect of the parameter function.
