I use Haskell with the Yampa FRP library, which uses the arrow language extension.
how can i make simple putStrLn in SF?
mySF = proc x -> do
y <- identity -< x*x
putStrLn "Hello World!" ++ show y
returnA -< y
the arrow syntax complains about the expression, not the arrow (of course), but even with arrows I don't get the output
output <- identity -< putStrLn "Hello World!"
source
share