Changes between Version 2 and Version 3 of ExtendedLayouts
- Timestamp:
- 01/04/12 02:50:23 (17 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
ExtendedLayouts
v2 v3 21 21 These examples usually have a "dead" type variable which is used exclusively for defining the monad instance and is later set to `()` for all functions using this type. To build up the desired data type either `mappend` or a variation (e.g. `Append` for blaze-html) is used. This so called "Monad" is therefor actually a hidden monoid with the clear intention to abuse the current `do`-notation. With this extension the correct `Monoid` instance can be used instead. 22 22 23 The proposed keyword for the beginning of a monoid layout is `be` .23 The proposed keyword for the beginning of a monoid layout is `be` (as in "don't `do` anything"). 24 24 25 25 '''Translation rules'''
