From a4a3266a793a57810c80e9529d341bf4f91a5590 Mon Sep 17 00:00:00 2001 From: EarthCitizen Date: Fri, 7 Oct 2016 02:54:13 -0700 Subject: [PATCH] Fix doc issue --- escape-artist.cabal | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/escape-artist.cabal b/escape-artist.cabal index d2d4c49..ad7ecef 100644 --- a/escape-artist.cabal +++ b/escape-artist.cabal @@ -28,12 +28,12 @@ description: data ABC = A | B deriving (Show, Eq) . instance ToEscapable ABC where - toEscapable (A) = FgRed $ show A - toEscapable (B) = FgGreen $ show B + toEscapable (A) = FgRed $ show A + toEscapable (B) = FgGreen $ show B . instance (ToEscapable a) => ToEscapable (Maybe a) where - toEscapable (Just a) = FgGreen \"Just\" \<\> Inherit \" \" \<\> FgYellow a - toEscapable a = FgRed $ show a + toEscapable (Just a) = FgGreen \"Just\" \<\> Inherit \" \" \<\> FgYellow a + toEscapable a = FgRed $ show a @ . Comprehensive Documentation