[Haskell-cafe] newbie "concatenating" monad question
Udo Stenzel
u.stenzel at web.de
Sat Mar 24 17:16:40 EDT 2007
Leandro Penz wrote:
> buildStuff =
> func1 ++ func2 ++ func3 ++ func4
>
> My idea is to have a monad with a concatenating >>, so that I can:
>
> bulidStuff = do
> func1
> func2
> func3
> func4
buildStuff = concat [
func1,
func2,
func3,
func4 ]
Remember, functional programming was already useful without monads.
-Udo
--
"It is the mark of an educated mind to be able to entertain a thought
without accepting it."
-- Aristotle
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://www.haskell.org/pipermail/haskell-cafe/attachments/20070324/585cd733/attachment.bin
More information about the Haskell-Cafe
mailing list