From e8e25681a31353187eaf2e86cbd85642a35fafcf Mon Sep 17 00:00:00 2001 From: Wesley Kerfoot Date: Sun, 24 Mar 2019 22:19:21 -0400 Subject: [PATCH] Add back in Default instance --- src/PullWatch/PullWatch.hs | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/PullWatch/PullWatch.hs b/src/PullWatch/PullWatch.hs index ebce74a..063a2d0 100644 --- a/src/PullWatch/PullWatch.hs +++ b/src/PullWatch/PullWatch.hs @@ -47,6 +47,14 @@ data PullRequest = PR { } deriving (Show) +instance Default PullRequest where + def = PR { + prText = "" + , prTitle = "" + , prRepo = "" + , prOwner = "" + , prID = 0 + } tenMinutes = 300000000*2