[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 3/5] gnu: Add ghc-data-access-transformers.
From: |
Ricardo Wurmus |
Subject: |
Re: [PATCH 3/5] gnu: Add ghc-data-access-transformers. |
Date: |
Fri, 28 Oct 2016 22:17:44 +0200 |
User-agent: |
mu4e 0.9.16; emacs 25.1.1 |
Federico Beffa <address@hidden> writes:
> On Fri, Oct 28, 2016 at 3:44 PM, Ludovic Courtès <address@hidden> wrote:
>> Federico Beffa <address@hidden> skribis:
>>> + (synopsis "Use Accessor to access state in transformers State monad")
>>
>> I can’t parse “transformers State monad”, but maybe it’s just me, or is
>> it missing a word, like “transformers of the State monad”, “State monad
>> transformers”?
>
> The way I understand it is: "transformers State monad" stands for the
> transformer monad called StateT, itself a monad. But I'll let you or
> a native English speaker decide about the grammatical correctness of
> the synopsis provided by the author :-)
“transformers” is a package providing monad transformers. But even
after looking at the code I can’t quite make sense of the synopsis :)
It provides functions that take accessors and return State and
Read-Write-State monad transformers.
~~ Ricardo