f =
ask "What's your name ?" >>= \name ->
putStrLn ("Hello " ++ name
++ " you wrote " ++ string
) >>= \
_ ->
g = do
name <- ask "What's your name ?"
putStrLn ("Hello " ++ name
++ " you wrote " ++ string
)
-- main = f
main = g
ICAgIGFzayA6OiBTdHJpbmcgLT4gSU8gU3RyaW5nCiAgICBhc2sgcyA9IHB1dFN0ckxuIHMgPj4gZ2V0TGluZQogICAgCgogICAgZiA6OiBJTyBTdHJpbmcKICAgIGYgPQogICAgICBhc2sgIldoYXQncyB5b3VyIG5hbWUgPyIgPj49IFxuYW1lIC0+CiAgICAgIHB1dFN0ckxuICJXcml0ZSBzb21ldGhpbmcuIiA+Pj0gXF8gLT4KICAgICAgZ2V0TGluZSA+Pj0gXHN0cmluZyAtPgogICAgICBwdXRTdHJMbiAoIkhlbGxvICIgKysgbmFtZSArKyAiIHlvdSB3cm90ZSAiICsrIHN0cmluZykgPj49IFxfIC0+CiAgICAgIHJldHVybiBuYW1lCgogICAgZyA6OiBJTyBTdHJpbmcgICAgCiAgICBnID0gZG8KICAgICAgbmFtZSA8LSBhc2sgIldoYXQncyB5b3VyIG5hbWUgPyIKICAgICAgcHV0U3RyTG4gIldyaXRlIHNvbWV0aGluZy4iCiAgICAgIHN0cmluZyA8LSBnZXRMaW5lCiAgICAgIHB1dFN0ckxuICgiSGVsbG8gIiArKyBuYW1lICsrICIgeW91IHdyb3RlICIgKysgc3RyaW5nKQogICAgICByZXR1cm4gbmFtZQoKICAgIC0tIG1haW4gPSBmCiAgICBtYWluID0gZwo=