We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d28fca1 commit 0f851d7Copy full SHA for 0f851d7
gibbon-compiler/src/Gibbon/L1/GenSML.hs
@@ -383,13 +383,13 @@ printerTy1 ty1 d = case ty1 of
383
[ "case", d, "of"
384
, parens $ interleave comma $ ("x__" <>) . int . fst <$> zip [1..] uts
385
, "-> let"
386
- , "val _ = print \"(\""
+ , "val _ = print \"#(\""
387
, foldMap ppSub $ zip [1..] uts
388
, "val _ = print \")\""
389
, "in ()"
390
]
391
where
392
- ppSub (i, x) = "val _ = " <> printerTy1 x ("x__" <> int i)
+ ppSub (i, x) = "val _ = " <> printerTy1 x ("x__" <> int i) <> "val _ = print \" \""
393
SymDictTy _m_var _ut -> _
394
PackedTy s () -> "internal_print_" <> text s <> parens d
395
VectorTy ut ->
0 commit comments