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. Struggling with integrating standalone function with
existing vty based app (Leon x)
2. Re: Foldable for (,) (Kim-Ee Yeoh)
----------------------------------------------------------------------
Message: 1
Date: Wed, 3 May 2017 09:20:15 +1200
From: Leon x <[email protected]>
To: [email protected]
Subject: [Haskell-beginners] Struggling with integrating standalone
function with existing vty based app
Message-ID:
<CALLyuDGmgQNY_4Sz=T8NWcZDj4mu4U5jp-i3bnqZKuPF=o0...@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"
I have the following code working fine:
https://github.com/leonstafford/pandoctest
But struggling in bringing it into this vty based app. I admit to not quite
understanding the control flow / IO here and could use some tips as to what
I'm doing wrong with this one:
https://github.com/leonstafford/cli-rss-reader/blob/feature/pandoc-render-article/Main.hs
As per the comments, I've tried to understand the existing code, but now
just finding myself flailing keys and switching type signatures to no avail.
Humbly seeking guidance from above!
Cheers,
Leon
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://mail.haskell.org/pipermail/beginners/attachments/20170503/eb803246/attachment-0001.html>
------------------------------
Message: 2
Date: Wed, 3 May 2017 11:00:07 +0700
From: Kim-Ee Yeoh <[email protected]>
To: The Haskell-Beginners Mailing List - Discussion of primarily
beginner-level topics related to Haskell <[email protected]>
Subject: Re: [Haskell-beginners] Foldable for (,)
Message-ID:
<CAPY+ZdTQNUVGoHgLPXyFa1XQU-55Lf2X4Ux1T-ztjeemMyk=0...@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"
Hey Jonathon,
Based on the last email you sent, it seems like you're not quite satisfied
with the responses.
And for good reason.
It turns out that there is more to
length (2,3) = 1
sum (2,3) = product (2,3) = 3
than just the offending Traversable instance of the tuple pair (,).
Would you mind resending your first email of Apr 23 to the haskell-cafe
mailing list?
If you do so, I'll contribute by opening a discussion of the Functor
instance.
Best,
Kim-Ee
On Sunday, April 23, 2017, Jonathon Delgado <[email protected]> wrote:
> I've seen many threads, including the one going on now, about why we need
> to have:
>
> length (2,3) = 1
> product (2,3) = 3
> sum (2,3) = 3
> or (True,False) = False
>
> but the justifications all go over my head. Is there a beginner-friendly
> explanation for why such seemingly unintuitive operations should be allowed
> by default?
> _______________________________________________
> Beginners mailing list
> [email protected] <javascript:;>
> http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners
>
--
-- Kim-Ee
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://mail.haskell.org/pipermail/beginners/attachments/20170503/de6a3945/attachment-0001.html>
------------------------------
Subject: Digest Footer
_______________________________________________
Beginners mailing list
[email protected]
http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners
------------------------------
End of Beginners Digest, Vol 107, Issue 1
*****************************************