[Haskell-cafe] Question on `runState'

David Fox ddssff at gmail.com
Tue Oct 18 04:40:40 CEST 2011


On Mon, Oct 17, 2011 at 5:32 PM, Conrad Parker <conrad at metadecks.org> wrote:
> On 17 October 2011 23:59, Captain Freako <capn.freako at gmail.com> wrote:
>> In this excerpt from the `StateArrow' page:
>>
>> runState :: Arrow a => StateArrow s a e b -> a (e, s) (b, s)Source
>>
>> what's the significance of having written "StateArrow s a e b", instead of
>> "StateArrow s a b c"?
>
> In the context of that page, do you think e might stand for something?
>
> btw. what's the URL?

http://hackage.haskell.org/packages/archive/arrows/0.4.1.2/doc/html/Control-Arrow-Transformer-State.html

I think maybe b is for beginning and e is for end?



More information about the Haskell-Cafe mailing list