aboutsummaryrefslogtreecommitdiffstats
path: root/app/Text/Diff/Extra.hs
blob: f5584951190ad53490633495ab77d01981f56c16 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
{-# LANGUAGE TemplateHaskell #-}
{-# OPTIONS_GHC -fno-warn-orphans #-}

module Text.Diff.Extra where

import Data.Binary (Binary)
import Generics.Deriving.TH (deriveAll0)
import Text.Diff.Parse.Types

deriveAll0 ''FileDelta
deriveAll0 ''FileStatus
deriveAll0 ''Content
deriveAll0 ''Hunk
deriveAll0 ''Range
deriveAll0 ''Line
deriveAll0 ''Annotation

instance Binary FileDelta

instance Binary FileStatus

instance Binary Content

instance Binary Hunk

instance Binary Range

instance Binary Line

instance Binary Annotation