Changes between Version 50 and Version 51 of Records


Ignore:
Timestamp:
Feb 23, 2012 12:16:16 AM (4 years ago)
Author:
GregWeber
Comment:

rearrange

Legend:

Unmodified
Added
Removed
Modified
  • Records

    v50 v51  
    2929In 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.
    3030
     31
     32The verbose name-spacing required is an in-your-face, glaring weakness telling you there is something wrong with Haskell. This issue has been solved in almost every modern programming languages, and there are plenty of possible solutions available to Haskell.
     33
     34
    3135Never mind experimental/advanced features, it gets in the way of doing utterly dull things like:
    3236 * look up an entity by name (such as a customer or dictionary entry)
     
    3640And inhibits doing relatively low-level generic/polymorphic stuff like standard print-formatting for any records with lastName and firstName fields.
    3741-- added by AntC 21-Feb-2012
    38 
    39 The verbose name-spacing required is an in-your-face, glaring weakness telling you there is something wrong with Haskell. This issue has been solved in almost every modern programming languages, and there are plenty of possible solutions available to Haskell.
    4042
    4143== Solutions ==
     
    8991
    9092
    91