Hi! If I open a purs source code file purty adds an empty line between different cases, for example:
input:
module Test.MySolutions where
import Prelude
import Data.Maybe (Maybe(..))
safeDivide::Int -> Int->Maybe Int
safeDivide _ 0 = Nothing
safeDivide a b = Just (a/b)
output of > purty MySolutions.purs
:
module Test.MySolutions where
import Prelude
import Data.Maybe (Maybe(..))
safeDivide :: Int -> Int -> Maybe Int
safeDivide _ 0 = Nothing
safeDivide a b = Just (a / b)
The same is happening for other files like in Ch8 Validation.purs
. I have tried with purty 6.3.0 and 6.2.1 and there is nothing to configure with this tool, is there?
Any help would be appreciated.