Skip to content
This repository was archived by the owner on Oct 4, 2020. It is now read-only.

Commit 66a013c

Browse files
committed
Spacing
1 parent ec44e15 commit 66a013c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Data/Generic.purs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -236,11 +236,11 @@ instance showGenericSpine :: Show GenericSpine
236236
show (SRecord arr) = "SRecord " <> showArray showElt arr
237237
where
238238
showElt { recLabel: label, recValue: value } =
239-
fold ["{ recLabel: ", show label, ", recValue: ", showSuspended value, "}"]
239+
fold ["{ recLabel: ", show label, ", recValue: ", showSuspended value, " }"]
240240

241241
-- | Shows a lazily evaluated value under a function with `Unit` parameter.
242242
showSuspended :: forall a. Show a => (Unit -> a) -> String
243-
showSuspended e = "\\_->" <> show (e unit)
243+
showSuspended e = "\\_ -> " <> show (e unit)
244244

245245
instance eqGenericSpine :: Eq GenericSpine where
246246
eq (SProd s1 arr1) (SProd s2 arr2) =
@@ -334,7 +334,7 @@ showDataConstructor :: DataConstructor -> String
334334
showDataConstructor dc =
335335
"{ sigConstructor: " <> show dc.sigConstructor <>
336336
", sigValues: " <> showArray (showSignature <<< force) dc.sigValues <>
337-
"}"
337+
" }"
338338

339339
showSignature :: GenericSignature -> String
340340
showSignature sig =

0 commit comments

Comments
 (0)