[Haskell-beginners] IO and purity

Sumit Sahrawat, Maths & Computing, IIT (BHU) sumit.sahrawat.apm13 at iitbhu.ac.in
Sun Apr 26 12:20:59 UTC 2015


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 at atamo.com> wrote:

>
> On Sun, Apr 26, 2015 at 5:16 PM, Jakob Holderbaum <mailings at 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 at haskell.org
> http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners
>
>


-- 
Regards

Sumit Sahrawat
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/beginners/attachments/20150426/61d877e6/attachment.html>


More information about the Beginners mailing list