1
1
mirror of https://github.com/qfpl/applied-fp-course.git synced 2024-11-23 03:44:45 +03:00

Update Instructions for Level04 DBComment

This commit is contained in:
Chris Davenport 2018-06-08 09:18:34 -04:00
parent 93b40fa374
commit 5373d78fb0

View File

@ -13,7 +13,7 @@ import Database.SQLite.Simple.FromRow (FromRow (fromRow), field)
-- Complete in the DbComment type below so it is a record type that matches the
-- Comment type, but without the newtype wrappers for each value. To get started,
-- just copy the new definition for the `Comment` type from FirstApp.Types.
-- just copy the new definition for the `Comment` type from Level04.Types.
data DBComment = DBComment
-- NB: Haskell does not allow duplicate field names for records so the field
-- names for this type will have to be slightly different