@@ -108,7 +108,7 @@ run profiled = withProjectRoot "." $ \root -> do
108108 , "import Reflex.Profiled" ]
109109 <> obRunImports <>
110110 [ "main :: IO ()"
111− , "main = " <> obRunExpr <> " `finally` writeProfilingData \"" <> profileBaseName <> ".rprof\"" ]
111+ , "main = (" <> obRunExpr <> ") `finally` writeProfilingData \"" <> profileBaseName <> ".rprof\"" ]
112112 -- Sane flags to enable by default, enable time profiling +
113113 -- closure heap profiling.
114114 rtsFlags = [ "+RTS", "-p", "-po" <> profileBaseName, "-hc", "-RTS" ]