Thanks for removing a misconception about everything being a function. My original example used writeFile, which is why I used the term 'function'. Refactoring text is more difficult as compared to haskell code :) On 26 April 2015 at 17:34, Kim-Ee Yeoh <ky3@atamo.com> wrote:
On Sun, Apr 26, 2015 at 5:16 PM, Jakob Holderbaum <mailings@jakob.io> wrote:
I am myself an absolute beginner in Haskell and Functional Thinking so I hope to get some constructive feedback on my mental image of this situation.
When you write: "From the perspective of the programm, you just call a function without argument that returns a string"
you veer close to the lousy thinking that Everything is a Function. Conal Elliott did the delousing here:
http://conal.net/blog/posts/everything-is-a-function-in-haskell
Have a read, and if you're not convinced, come back here and ask for more help.
-- Kim-Ee
_______________________________________________ Beginners mailing list Beginners@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners
-- Regards Sumit Sahrawat