Changes between Version 38 and Version 39 of Records


Ignore:
Timestamp:
Jan 18, 2012 3:48:47 AM (4 years ago)
Author:
GregWeber
Comment:

link to DotOperator

Legend:

Unmodified
Added
Removed
Modified
  • Records

    v38 v39  
    2626                 record.hs:2:34
    2727}}}
     28
    2829In the Persistent data store library, Yesod works around the issue by having the standard of prefixing every record field with the record name (`recordA` and `recordClashA`). But besides being extremely verbose, it also limits us from experimenting with more advanced features like a partial record projection or an unsaved and saved record type.
    2930
     
    4243
    4344
     45=== Similarities ===
     46
     47All records solutions are planning on using the dot operator for normal record field selection. We need to consider the [wiki:Records/DotOperator future usage of the dot, particularly as a function composition operator].
     48
     49
     50=== Comparisons ===
     51
    4452The benefit of Overloading over Namespacing is being able to write code that works against any Record with a given field. So I can have a function:
    4553
     
    5664
    5765
     66
    5867=== Type directed name resolution ===
    5968