git.iko.soy/rowtype-yoga/purescript-native
on golang help sign in
C++: disable ST inlining for now
9a7c9a4Andy Arvanitis
src/Language/PureScript/CodeGen/Cpp/Optimizer/MagicDo.hs+1−1
@@ -28,7 +28,7 @@ import qualified Language.PureScript.Constants as C
28
28
29magicDo :: Options -> Cpp -> Cpp
29magicDo :: Options -> Cpp -> Cpp
30magicDo opts | optionsNoMagicDo opts = id
30magicDo opts | optionsNoMagicDo opts = id
31− | otherwise = inlineST . magicDo'
31+ | otherwise = {- inlineST . -} magicDo' -- TODO: fix and test with Collatz.purs
32
32
33-- |
33-- |
34-- Inline type class dictionaries for >>= and return for the Eff monad
34-- Inline type class dictionaries for >>= and return for the Eff monad