From 4e809089b334632dc541be8eabf871b2fd96fe55 Mon Sep 17 00:00:00 2001 From: Rob Rix Date: Thu, 5 Apr 2018 10:18:12 -0400 Subject: [PATCH] :memo: NoLanguageForBlob. --- src/Semantic/IO.hs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Semantic/IO.hs b/src/Semantic/IO.hs index b8e8556b8..be7b494ab 100644 --- a/src/Semantic/IO.hs +++ b/src/Semantic/IO.hs @@ -125,6 +125,7 @@ instance FromJSON BlobPair where _ -> fail "Expected object with 'before' and/or 'after' keys only" +-- | An exception indicating that we’ve tried to diff or parse a blob of unknown language. newtype NoLanguageForBlob = NoLanguageForBlob FilePath deriving (Eq, Exception, Ord, Show, Typeable)