Send Beginners mailing list submissions to
[email protected]
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
[email protected]
You can reach the person managing the list at
[email protected]
When replying, please edit your Subject line so it is more specific
than "Re: Contents of Beginners digest..."
Today's Topics:
1. Re: Monad transformers (Martin Vlk)
2. Re: Monad transformers (Francesco Ariis)
----------------------------------------------------------------------
Message: 1
Date: Sat, 19 Sep 2015 07:37:13 +0000
From: Martin Vlk <[email protected]>
To: [email protected]
Subject: Re: [Haskell-beginners] Monad transformers
Message-ID: <[email protected]>
Content-Type: text/plain; charset=UTF-8
Also, looking at this topic in more detail - we could speak of different
kinds of denseness.
One is inherent because there is so much encoded in the types and
abstractions used. However this is the kind of denseness that IMO fades
away as you get the right intuitions.
Then it's true that there is lots of space in Haskell for writing dense
code - this is the "poetry" bit. But I can also write code that is more
spacious, I write out more things explicitly, variables with longer
names, etc. It'll be less of a poetry maybe, but easier to read.
There can be different kinds of poetry... :-)
M.
[email protected]:
> Hi. I am a beginner too.
>
> For the most part I agree with you, except that Haskell is, in my opinion, a
> dense language per se.
>
> Haskell is more poetry than prose; you do not read/write a poem like a novel.
>
> Whether you are new to this language or master it, it is dense.
>
> Guillaume
> <www.lthr.xyz>
>
> Saturday, Sep 19, 2015 8:30 AM Martin Vlk wrote:
>> Hi, I am also something of a beginner in Haskell and have to say I am
>> slowly getting to see that many things that once looked impenetrable are
>> starting to clear up for me.
>>
>> I am basically developing the intuitions that work in the Haskell world
>> - different intuitions from those I acquired when I worked using
>> imperative languages.
>>
>> So possibly even advanced Haskell code is not impenetrable by nature -
>> it's just different - and once you get over the initial difficulty it'll
>> then look clear and not that dense at all?
>>
>> Martin
>>
>> Andrew Bernard:
>>> Greetings All,
>>>
>>> While I admire Haskell enormously, as a an intermediate beginner I find it
>>> difficult to know what is normal Haskell style for real world programming.
>>> On the subject of monad transformers, the paper by Martin Grab?mller titled
>>> 'Monad Transformers Step by Step' gives an example of an evaluator using
>>> monad transformers with the following type:
>>>
>>> type Eval6 ? = ReaderT Env (ErrorT String (WriterT [String] (StateT Integer
>>> IO))) ?
>>>
>>> Is this how normal Haskell is developed and written in practice? I find the
>>> type and the function impenetrably dense and difficult to understand.
>>> Should I be aspiring to have my functions look and work like this? Of
>>> course it depends on what you want to do, but the essence of the question
>>> is, does Haskell ultimately end up looking like this for any real
>>> programming, beyond textbook list manipulation functions?
>>>
>>> Andrew
>>>
>>>
>>>
>>>
>>>
>>> _______________________________________________
>>> Beginners mailing list
>>> [email protected]
>>> http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners
>>>
>> _______________________________________________
>> Beginners mailing list
>> [email protected]
>> http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners
>
>
> --
> Sent from Whiteout Mail - https://whiteout.io
>
> My PGP key: https://keys.whiteout.io/[email protected]
>
>
>
> _______________________________________________
> Beginners mailing list
> [email protected]
> http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners
>
------------------------------
Message: 2
Date: Sat, 19 Sep 2015 09:41:25 +0200
From: Francesco Ariis <[email protected]>
To: [email protected]
Subject: Re: [Haskell-beginners] Monad transformers
Message-ID: <[email protected]>
Content-Type: text/plain; charset=iso-8859-1
On Sat, Sep 19, 2015 at 07:15:53AM +0000, [email protected] wrote:
> Haskell is more poetry than prose; you do not read/write a poem like a novel.
Pandoc, xmonad, parsec: as prosaic you can get!
?Viva la prosificaci?n! :?
------------------------------
Subject: Digest Footer
_______________________________________________
Beginners mailing list
[email protected]
http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners
------------------------------
End of Beginners Digest, Vol 87, Issue 11
*****************************************