type alias cleanup
This commit is contained in:
parent
a2ec2d3760
commit
4a02c2ea62
38 changed files with 129 additions and 122 deletions
|
@ -11,7 +11,7 @@ module Types.Backend where
|
|||
|
||||
import Types.Key
|
||||
|
||||
data Backend a = Backend {
|
||||
data BackendA a = Backend {
|
||||
-- name of this backend
|
||||
name :: String,
|
||||
-- converts a filename to a key
|
||||
|
@ -20,8 +20,8 @@ data Backend a = Backend {
|
|||
fsckKey :: Key -> a Bool
|
||||
}
|
||||
|
||||
instance Show (Backend a) where
|
||||
instance Show (BackendA a) where
|
||||
show backend = "Backend { name =\"" ++ name backend ++ "\" }"
|
||||
|
||||
instance Eq (Backend a) where
|
||||
instance Eq (BackendA a) where
|
||||
a == b = name a == name b
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue