mirror of
https://github.com/commercialhaskell/stackage-server.git
synced 2026-02-06 16:17:27 +01:00
More consistency in instances
This commit is contained in:
parent
a708c630ae
commit
4107980263
@ -99,7 +99,7 @@ data HoogleQueryInput = HoogleQueryInput
|
|||||||
|
|
||||||
data HoogleQueryOutput = HoogleQueryOutput [HoogleResult] (Maybe Int) -- ^ Int == total count
|
data HoogleQueryOutput = HoogleQueryOutput [HoogleResult] (Maybe Int) -- ^ Int == total count
|
||||||
deriving (Read, Typeable, Data, Show, Eq, Generic)
|
deriving (Read, Typeable, Data, Show, Eq, Generic)
|
||||||
instance NFData HoogleQueryOutput
|
instance NFData HoogleQueryOutput where rnf = genericRnf
|
||||||
|
|
||||||
data HoogleResult = HoogleResult
|
data HoogleResult = HoogleResult
|
||||||
{ hrURL :: String
|
{ hrURL :: String
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user