hlint
This commit is contained in:
parent
f8163f99c7
commit
dc9fe92484
|
@ -11,4 +11,6 @@ digraph es = Text.unlines
|
||||||
]
|
]
|
||||||
|
|
||||||
edges :: [NonEmpty Text] -> Text
|
edges :: [NonEmpty Text] -> Text
|
||||||
edges = Text.unlines . fmap ((\(x :| xs) -> Text.unlines $ (\y -> x <> " -> " <> y <> ";") <$> xs))
|
edges = Text.unlines . fmap f
|
||||||
|
where
|
||||||
|
f (x :| xs) = Text.unlines $ (\y -> x <> " -> " <> y <> ";") <$> xs
|
||||||
|
|
|
@ -147,7 +147,7 @@ instance FromJSON Casgn where
|
||||||
_ -> empty
|
_ -> empty
|
||||||
|
|
||||||
|
|
||||||
data Array = Array
|
newtype Array = Array
|
||||||
{ statements :: [Statement]
|
{ statements :: [Statement]
|
||||||
}
|
}
|
||||||
deriving stock instance Show Array
|
deriving stock instance Show Array
|
||||||
|
@ -443,7 +443,7 @@ instance FromJSON Lvasgn where
|
||||||
[Aeson.String "lvasgn", atom, statement] -> Lvasgn <$> parseJSON atom <*> parseJSON statement
|
[Aeson.String "lvasgn", atom, statement] -> Lvasgn <$> parseJSON atom <*> parseJSON statement
|
||||||
_ -> empty
|
_ -> empty
|
||||||
|
|
||||||
data Lvar = Lvar
|
newtype Lvar = Lvar
|
||||||
{ atom :: Atom
|
{ atom :: Atom
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -458,7 +458,7 @@ instance FromJSON Lvar where
|
||||||
[Aeson.String "lvar", atom] -> Lvar <$> parseJSON atom
|
[Aeson.String "lvar", atom] -> Lvar <$> parseJSON atom
|
||||||
_ -> empty
|
_ -> empty
|
||||||
|
|
||||||
data Ivar = Ivar
|
newtype Ivar = Ivar
|
||||||
{ atom :: Atom
|
{ atom :: Atom
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue