rowtype-yoga / pose

24 stars 1 forks source link

Allow up to two empty lines between top-level declarations #4

Open i-am-the-slime opened 3 years ago

i-am-the-slime commented 3 years ago

This was raised by @wclr on Discord, and I don't see why we wouldn't support this.

wclr commented 3 years ago

Actually, as I love and use in my code this vertically sparse style I have a number of more concrete rules for it, that I found to be very nice. (These rules are mostly derived from the style I've seen Elm's creator Evan Czaplicki uses, as well in his Haskell code - and it definitely helps to make his code much more clean and readable).

Top Level Rules:

foregin import intToStr :: Int -> String
foregin import strToInt :: String -> Int