Changes between Version 28 and Version 29 of Records/NameSpacing


Ignore:
Timestamp:
Jan 12, 2012 12:17:58 PM (4 years ago)
Author:
GregWeber
Comment:

add Control.Category.<<<

Legend:

Unmodified
Added
Removed
Modified
  • Records/NameSpacing

    v28 v29  
    231231
    2322322) discourage the use of dot for function composition - use a different operator for that task. Indeed, Frege users have the choice between `<~` or the proper unicode dot.
     233Haskell also has `Control.Category.<<<`
    233234
    234235Discouraging the use of the dot in custom operators makes the example code only slightly better. With the second we now have:
     
    244245}}}
    245246
    246 If you are disgusted by `<~` than you can use the very pretty unicode dot.
     247If you are disgusted by `<~` than you can use the very pretty unicode dot. Or we can stick with the category operator instead of `<~`
     248
     249{{{
     250quux (y <<< (foo>.<  bar).baz (f <<< g)) moo
     251}}}
     252
    247253
    248254=== Downside: mixing of 2 styles of code ===