Send Beginners mailing list submissions to beginners@haskell.org To subscribe or unsubscribe via the World Wide Web, visit http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners or, via email, send a message with subject or body 'help' to beginners-requ...@haskell.org
You can reach the person managing the list at beginners-ow...@haskell.org When replying, please edit your Subject line so it is more specific than "Re: Contents of Beginners digest..." Today's Topics: 1. Re: Haskell for Imperative Programmers (PY) 2. Re: Haskell for Imperative Programmers (Olivier Revollat) 3. Re: Haskell for Imperative Programmers (Theodore Lief Gannon) 4. Re: Haskell for Imperative Programmers (Olivier Revollat) ---------------------------------------------------------------------- Message: 1 Date: Tue, 10 Jul 2018 14:13:52 +0300 From: PY <aqua...@gmail.com> To: beginners@haskell.org Subject: Re: [Haskell-beginners] Haskell for Imperative Programmers Message-ID: <9a793b1f-69a9-0116-a1be-ec3096343...@gmail.com> Content-Type: text/plain; charset="utf-8"; Format="flowed" May be something like this? *Free monads* ("applicative" style/interpreting trees) and Effects: https://markkarpov.com/post/free-monad-considered-harmful.html https://mmhaskell.com/blog/2017/11/20/eff-to-the-rescue *Arrows* (something like "flow"-style): https://www.haskell.org/arrows/ http://tuttlem.github.io/2014/07/26/practical-arrow-usage.html 10.07.2018 12:22, Olivier Revollat wrote: > Hi, > I've been using imperative languages for 20 years now :) > > I'm a beginner in haskell and I love the paradigm shift you feel when > you come from imperative programming. I found interesting articles like : > https://wiki.haskell.org/Haskell_IO_for_Imperative_Programmers > > Do you have any other ressources like that ? > I'm not looking for how to use haskell in imperative style (e.g. with > "do" notation, ...) no no ! I'm looking articles who explain how NOT > TO USE imperative style with haskell, and help thinking the paradigm > shift ... > > Thanks :) > > > > _______________________________________________ > Beginners mailing list > Beginners@haskell.org > http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.haskell.org/pipermail/beginners/attachments/20180710/fabcbd19/attachment-0001.html> ------------------------------ Message: 2 Date: Tue, 10 Jul 2018 13:55:06 +0200 From: Olivier Revollat <revol...@gmail.com> To: beginners@haskell.org Subject: Re: [Haskell-beginners] Haskell for Imperative Programmers Message-ID: <ca+nxgrvlemvy2ubdwxsz9_kajhuktu3+dovvw8rqovhjts8...@mail.gmail.com> Content-Type: text/plain; charset="utf-8" Thanks ! Le mar. 10 juil. 2018 à 13:14, PY <aqua...@gmail.com> a écrit : > May be something like this? > > *Free monads* ("applicative" style/interpreting trees) and Effects: > https://markkarpov.com/post/free-monad-considered-harmful.html > https://mmhaskell.com/blog/2017/11/20/eff-to-the-rescue > > *Arrows* (something like "flow"-style): > https://www.haskell.org/arrows/ > http://tuttlem.github.io/2014/07/26/practical-arrow-usage.html > > > 10.07.2018 12:22, Olivier Revollat wrote: > > Hi, > I've been using imperative languages for 20 years now :) > > I'm a beginner in haskell and I love the paradigm shift you feel when you > come from imperative programming. I found interesting articles like : > https://wiki.haskell.org/Haskell_IO_for_Imperative_Programmers > > Do you have any other ressources like that ? > I'm not looking for how to use haskell in imperative style (e.g. with "do" > notation, ...) no no ! I'm looking articles who explain how NOT TO USE > imperative style with haskell, and help thinking the paradigm shift ... > > Thanks :) > > > > _______________________________________________ > Beginners mailing > listBeginners@haskell.orghttp://mail.haskell.org/cgi-bin/mailman/listinfo/beginners > > > _______________________________________________ > Beginners mailing list > Beginners@haskell.org > http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners > -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.haskell.org/pipermail/beginners/attachments/20180710/6ae3f38b/attachment-0001.html> ------------------------------ Message: 3 Date: Tue, 10 Jul 2018 05:19:41 -0700 From: Theodore Lief Gannon <tan...@gmail.com> To: The Haskell-Beginners Mailing List - Discussion of primarily beginner-level topics related to Haskell <beginners@haskell.org> Subject: Re: [Haskell-beginners] Haskell for Imperative Programmers Message-ID: <CAJoPsuCf+2NDb7tbtVA1H8B1NZzWc6cGhgCKt8jt=+u0orv...@mail.gmail.com> Content-Type: text/plain; charset="utf-8" An intuition that really clicked for me is that in Haskell IO code, as in all Haskell code, you are describing a pristine and perfectly inert data structure. It happens to *represent* a set of imperative instructions that the totally impure runtime environment can execute, but that's not your problem! On Tue, Jul 10, 2018, 4:55 AM Olivier Revollat <revol...@gmail.com> wrote: > Thanks ! > > Le mar. 10 juil. 2018 à 13:14, PY <aqua...@gmail.com> a écrit : > >> May be something like this? >> >> *Free monads* ("applicative" style/interpreting trees) and Effects: >> https://markkarpov.com/post/free-monad-considered-harmful.html >> https://mmhaskell.com/blog/2017/11/20/eff-to-the-rescue >> >> *Arrows* (something like "flow"-style): >> https://www.haskell.org/arrows/ >> http://tuttlem.github.io/2014/07/26/practical-arrow-usage.html >> >> >> 10.07.2018 12:22, Olivier Revollat wrote: >> >> Hi, >> I've been using imperative languages for 20 years now :) >> >> I'm a beginner in haskell and I love the paradigm shift you feel when you >> come from imperative programming. I found interesting articles like : >> https://wiki.haskell.org/Haskell_IO_for_Imperative_Programmers >> >> Do you have any other ressources like that ? >> I'm not looking for how to use haskell in imperative style (e.g. with >> "do" notation, ...) no no ! I'm looking articles who explain how NOT TO USE >> imperative style with haskell, and help thinking the paradigm shift ... >> >> Thanks :) >> >> >> >> _______________________________________________ >> Beginners mailing >> listBeginners@haskell.orghttp://mail.haskell.org/cgi-bin/mailman/listinfo/beginners >> >> >> _______________________________________________ >> Beginners mailing list >> Beginners@haskell.org >> http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners >> > _______________________________________________ > Beginners mailing list > Beginners@haskell.org > http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners > -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.haskell.org/pipermail/beginners/attachments/20180710/fe246474/attachment-0001.html> ------------------------------ Message: 4 Date: Tue, 10 Jul 2018 14:29:41 +0200 From: Olivier Revollat <revol...@gmail.com> To: beginners@haskell.org Subject: Re: [Haskell-beginners] Haskell for Imperative Programmers Message-ID: <CA+nXgrUNLy1N3mR87pngEeu_GrwRw24zh=quu4xphc+w5k1...@mail.gmail.com> Content-Type: text/plain; charset="utf-8" Yes absolutely ! you're referring to laziness right ? Le mar. 10 juil. 2018 à 14:20, Theodore Lief Gannon <tan...@gmail.com> a écrit : > An intuition that really clicked for me is that in Haskell IO code, as in > all Haskell code, you are describing a pristine and perfectly inert data > structure. It happens to *represent* a set of imperative instructions that > the totally impure runtime environment can execute, but that's not your > problem! > > On Tue, Jul 10, 2018, 4:55 AM Olivier Revollat <revol...@gmail.com> wrote: > >> Thanks ! >> >> Le mar. 10 juil. 2018 à 13:14, PY <aqua...@gmail.com> a écrit : >> >>> May be something like this? >>> >>> *Free monads* ("applicative" style/interpreting trees) and Effects: >>> https://markkarpov.com/post/free-monad-considered-harmful.html >>> https://mmhaskell.com/blog/2017/11/20/eff-to-the-rescue >>> >>> *Arrows* (something like "flow"-style): >>> https://www.haskell.org/arrows/ >>> http://tuttlem.github.io/2014/07/26/practical-arrow-usage.html >>> >>> >>> 10.07.2018 12:22, Olivier Revollat wrote: >>> >>> Hi, >>> I've been using imperative languages for 20 years now :) >>> >>> I'm a beginner in haskell and I love the paradigm shift you feel when >>> you come from imperative programming. I found interesting articles like : >>> https://wiki.haskell.org/Haskell_IO_for_Imperative_Programmers >>> >>> Do you have any other ressources like that ? >>> I'm not looking for how to use haskell in imperative style (e.g. with >>> "do" notation, ...) no no ! I'm looking articles who explain how NOT TO USE >>> imperative style with haskell, and help thinking the paradigm shift ... >>> >>> Thanks :) >>> >>> >>> >>> _______________________________________________ >>> Beginners mailing >>> listBeginners@haskell.orghttp://mail.haskell.org/cgi-bin/mailman/listinfo/beginners >>> >>> >>> _______________________________________________ >>> Beginners mailing list >>> Beginners@haskell.org >>> http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners >>> >> _______________________________________________ >> Beginners mailing list >> Beginners@haskell.org >> http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners >> > _______________________________________________ > Beginners mailing list > Beginners@haskell.org > http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners > -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.haskell.org/pipermail/beginners/attachments/20180710/6579913c/attachment.html> ------------------------------ Subject: Digest Footer _______________________________________________ Beginners mailing list Beginners@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners ------------------------------ End of Beginners Digest, Vol 121, Issue 9 *****************************************