Source

haskellblog / src / Blog / Comment.hs

Author Commit Message Labels Comments Date
Luke Plant
Corrected more underscores in field names
Luke Plant
Changed various instances of underscores to camelCase, so they can be used in templates Also corrected textraw and textformatted to textRaw and textFormatted
Luke Plant
Various fixes to run on GHC 7.0 and much more recent versions of packages.
Luke Plant
Use ByteString in Comment instead of String This should have the effect of avoiding creation of Strings for talking to the DB, which is inefficient
Luke Plant
Added 'hidden' and 'response' fields to Comment schema
Luke Plant
Implemented 'post' page using HStringTemplate
Luke Plant
Implemented proper plain text formatting
Luke Plant
Model definition and migration for comments table
Luke Plant
Reorganised db -> haskell layer into Model.hs module