Why won't roc format let me have blank lines between comments?!

In Elm and Haskell I often like to break up a file into sections using big comments
It should be OK for files to get big in these languages, as discussed in
[The life of a file](https://www.youtube.com/watch?v=XpDsk374LDE)
And when they do, I want blank lines!
This commit is contained in:
Brian Carroll 2022-11-01 11:03:06 +00:00
parent 3ca64462f1
commit 1cda52ed19
No known key found for this signature in database
GPG Key ID: 5C7B2EC4101703C0

View File

@ -65,7 +65,6 @@ Handler state := [
# -------------------------------
# VIEW FUNCTIONS
# -------------------------------
## Define an HTML Element
element : Str -> (List (Attribute state), List (Html state) -> Html state)
element = \tagName ->
@ -105,7 +104,6 @@ attrSize = \attr ->
# -------------------------------
# STATIC HTML
# -------------------------------
appendRenderedStatic : Str, Html [] -> Str
appendRenderedStatic = \buffer, node ->
when node is
@ -155,7 +153,6 @@ appendRenderedStaticAttr = \{ buffer, styles }, attr ->
# -------------------------------
# TRANSLATE STATE TYPE
# -------------------------------
# translate : Html c, (p -> c), (c -> p) -> Html p # TODO: use this type signature when it no longer triggers a type checker bug
translate : Html _, (_ -> _), (_ -> _) -> Html _
translate = \node, parentToChild, childToParent ->
@ -249,7 +246,6 @@ keepStaticAttr = \attr ->
# -------------------------------
# EVENT HANDLING
# -------------------------------
insertHandler : List (Result (Handler state) [NoHandler]), Handler state -> { index : Nat, lookup : List (Result (Handler state) [NoHandler]) }
insertHandler = \lookup, newHandler ->
when List.findFirstIndex lookup Result.isErr is