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