Closed
Description
Here is a datatype with some comments:
data Foo = Foo
{ -- | This is a comment above some line.
-- It can span multiple lines.
fooName :: String
, fooAge :: Int
-- ^ This is a comment below some line.
-- It can span multiple lines.
}
Here is what stylish-haskell-0.10.0.0
produces:
data Foo = Foo
{ fooName :: String
, fooAge :: Int
-- ^ This is a comment below some line.
}
Metadata
Metadata
Assignees
Labels
No labels