@@ -157,6 +157,7 @@ instance TestEquality SRefKind where
157157 testEquality SStorage SStorage = Just Refl
158158 testEquality SCalldata SCalldata = Just Refl
159159 testEquality _ _ = Nothing
160+
160161-- | Helper pattern to retrieve the 'SingI' instances of the type represented by
161162-- an 'SKind'.
162163pattern SRefKind :: () => (SingI a ) => SRefKind a
@@ -197,7 +198,7 @@ instance Eq (Ref k t) where
197198 SField _ r c x == SField _ r' c' x' = r == r' && c == c' && x == x'
198199 _ == _ = False
199200
200- -- | Item is a reference together with its Act type.The type is
201+ -- | Item is a reference together with its Act type. The type is
201202-- parametrized on a timing `t`, a type `a`, and the reference kind
202203-- `k`. `t` can be either `Timed` or `Untimed` and indicates whether
203204-- any indices that reference items in storage explicitly refer to the
@@ -570,8 +571,8 @@ instance ToJSON (Exp a t) where
570571 , " arity" .= Data.Aeson.Types. Number (fromIntegral $ length xs)
571572 , " args" .= Data.Aeson. Array (fromList [object [ " fun" .= String (pack f) ], toJSON xs]) ]
572573 toJSON (Array _ l) = object [ " symbol" .= pack " []"
573- , " arity" .= Data.Aeson.Types. Number (fromIntegral $ length l)
574- , " args" .= Data.Aeson. Array (fromList (map toJSON l)) ]
574+ , " arity" .= Data.Aeson.Types. Number (fromIntegral $ length l)
575+ , " args" .= Data.Aeson. Array (fromList (map toJSON l)) ]
575576
576577 toJSON v = error $ " todo: json ast for: " <> show v
577578
0 commit comments