@@ -48,7 +48,7 @@ This is an experimental native compiler/backend for [PureScript](https://github.
4848```PureScript
4949module Main where
5050 import Prelude
51− import Control.Monad.Eff.Console
51+ import Control.Monad.Eff.Console (log, logShow)
5252
5353 fib :: Int -> Int
5454 fib 0 = 0
@@ -57,7 +57,7 @@ module Main where
5757
5858 main = do
5959 log "Here's the result of fib 10:"
60− print (fib 10)
60+ logShow (fib 10)
6161```
6262**`fib.cc`**
6363```c++
@@ -66,9 +66,14 @@ namespace Main {
6666 using namespace PureScript;
6767 using namespace Prelude;
6868 using namespace Control_Monad_Eff_Console;
69+ using namespace Data_Semiring;
70+ using namespace Data_Ring;
71+ using namespace Control_Bind;
6972 using namespace Control_Monad_Eff;
73+ using namespace Data_Show;
7074
71− auto fib(const any& v) -> any {
75+
76+ auto fib(int v) -> int {
7277 switch (cast<int>(v)) {
7378 case 0: return 0;
7479 case 1: return 1;
@@ -77,12 +82,13 @@ namespace Main {
7782 };
7883 auto main() -> any {
7984 Control_Monad_Eff_Console::log("Here's the result of fib 10:")();
80− return Control_Monad_Eff_Console::print(Prelude::showInt, fib(10))();
85+ return Control_Monad_Eff_Console::logShow(Data_Show::showInt, fib(10))();
8186 };
8287}
8388
8489auto main(int, char *[]) -> int {
8590 using namespace Main;
91+ INITIALIZE_GC();
8692 Main::main();
8793 return 0;
8894};