[Haskell-cafe] Noob question and sequence of operations (print then do something else)

Henning Thielemann lemming at henning-thielemann.de
Mon Sep 24 08:19:52 EDT 2007

On Mon, 24 Sep 2007, John Wicket wrote:

> I am still in an imperative way of thinking.  In this example here; how
> would I call "putStrLn" and then set the function with a value.  Eg:
> aa :: String -> IO ()
> aa instr = do
>  putStrLn "abc"
>  putStrLn "abc"
>  return "123"

The article
     contained more information, in the good old days, when Hawiki was 
still running. :-(

More information about the Haskell-Cafe mailing list