aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJoris2015-10-10 12:04:52 +0200
committerJoris2015-10-10 12:04:52 +0200
commit785a5d63e8b7896be0379fba422d0076577d1084 (patch)
tree2e7a554eae742e0772b45d669c288b1d303edfed /src
parenta58c08439f0c4a291a437c24878ec03aff04644b (diff)
Invert firstname and lastname in a birthdate
Diffstat (limited to 'src')
-rw-r--r--src/Birthdate.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Birthdate.hs b/src/Birthdate.hs
index 4c6e398..c9d0bda 100644
--- a/src/Birthdate.hs
+++ b/src/Birthdate.hs
@@ -14,8 +14,8 @@ import Date (Date, sameDayAndMonth, yearsGap)
data Birthdate = Birthdate
{ date :: Date
- , lastname :: Text
, firstname :: Text
+ , lastname :: Text
} deriving (Eq, Show)
fullname :: Birthdate -> Text