Send Beginners mailing list submissions to
[email protected]
To subscribe or unsubscribe via the World Wide Web, visit
http://www.haskell.org/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: Is this a GHC bug? Problem inferring type (Brandon Allbery)
2. Haskell GTK (Giacomo Tesio)
3. Re: Haskell GTK (Tim Perry)
4. Enum Float and Double (harry)
5. Re: Haskell GTK (Giacomo Tesio)
6. Re: Haskell GTK (Krzysztof Skrz?tnicki)
----------------------------------------------------------------------
Message: 1
Date: Sun, 9 Jun 2013 09:45:09 -0400
From: Brandon Allbery <[email protected]>
Subject: Re: [Haskell-beginners] Is this a GHC bug? Problem inferring
type
To: Peter Hall <[email protected]>
Cc: The Haskell-Beginners Mailing List - Discussion of primarily
beginner-level topics related to Haskell <[email protected]>
Message-ID:
<cakfcl4xbf60btta-catmxtxtoluwlzyfazsos8cuq5euckg...@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"
On Sat, Jun 8, 2013 at 8:16 PM, Peter Hall <[email protected]> wrote:
> Most recent spec was Haskell 2010, as pointed out by someone else. There
>> is some talk of pushing for a 2014 revision which would include (among
>> other things) removal of the monomorphism restriction ? but the standards
>> committee is notoriously conservative, and IIRC argued against that
>> proposal in 2010.
>>
>
> But there has a been a lot of momentum in recent years towards removing
> it. Aren't we a little optimistic? Presumably the only objection is the
> feeling that it raises the barrier of difficulty for new implementations?
>
No. The original reason for it is that one typically gives a constant
applicative form (a binding without a function arrow; informally, a
"value") a name so that it can be shared ? but a polymorphic value cannot
be shared. (See, for example, the various tricks for memoizing the
Fibonacci series; these rely on the list being shared, both in its own
definition and when it is used.)
--
brandon s allbery kf8nh sine nomine associates
[email protected] [email protected]
unix, openafs, kerberos, infrastructure, xmonad http://sinenomine.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://www.haskell.org/pipermail/beginners/attachments/20130609/fa04cea9/attachment-0001.htm>
------------------------------
Message: 2
Date: Sun, 9 Jun 2013 19:22:15 +0200
From: Giacomo Tesio <[email protected]>
Subject: [Haskell-beginners] Haskell GTK
To: "[email protected]" <[email protected]>
Message-ID:
<CAHL7psEDPKO=uaT_k0Xvy6=ev9wVOSGUuJb0foCzzHfLDqrz=q...@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"
I have to write a "simple" GUI that plot some timeseries with a few
parameterization (dates, times and so on...).
The task should be simple, but I'm find using the GTK binding quite weird.
I'm surprised that nothing better exists for GUI programming in haskell. I
read a few about FRP but AFAIK it doesn't adress simple desktop UI full of
input to validate and grid/tree to show.
Any suggestion? I've already read the pages on Hackage without much success.
At least, can someone point me to the right direction for the codebase
organization?
Giacomo
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://www.haskell.org/pipermail/beginners/attachments/20130609/7ab891f5/attachment-0001.htm>
------------------------------
Message: 3
Date: Sun, 9 Jun 2013 17:52:15 -0700
From: Tim Perry <[email protected]>
Subject: Re: [Haskell-beginners] Haskell GTK
To: The Haskell-Beginners Mailing List - Discussion of primarily
beginner-level topics related to Haskell <[email protected]>
Message-ID: <[email protected]>
Content-Type: text/plain; charset="us-ascii"
Did you try this:
http://en.m.wikibooks.org/wiki/Haskell/GUI
I hope it helps.
Tim
On Jun 9, 2013, at 10:22 AM, Giacomo Tesio <[email protected]> wrote:
> I have to write a "simple" GUI that plot some timeseries with a few
> parameterization (dates, times and so on...).
> The task should be simple, but I'm find using the GTK binding quite weird.
>
> I'm surprised that nothing better exists for GUI programming in haskell. I
> read a few about FRP but AFAIK it doesn't adress simple desktop UI full of
> input to validate and grid/tree to show.
>
> Any suggestion? I've already read the pages on Hackage without much success.
> At least, can someone point me to the right direction for the codebase
> organization?
>
>
> Giacomo
> _______________________________________________
> Beginners mailing list
> [email protected]
> http://www.haskell.org/mailman/listinfo/beginners
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://www.haskell.org/pipermail/beginners/attachments/20130609/61e3cae9/attachment-0001.htm>
------------------------------
Message: 4
Date: Mon, 10 Jun 2013 08:05:47 +0000 (UTC)
From: harry <[email protected]>
Subject: [Haskell-beginners] Enum Float and Double
To: [email protected]
Message-ID: <[email protected]>
Content-Type: text/plain; charset=us-ascii
Why are Float and Double Enums? It doesn't seem to achieve anything useful,
other than creating confusion such as
http://stackoverflow.com/questions/7290438/haskell-ranges-and-floats. I've
seen some threads from several years ago pointing out numerous problems with
any attempt at giving these instances a sensible definition, but no
explanation as to why they were created in the first place, or why they
haven't been removed since.
------------------------------
Message: 5
Date: Mon, 10 Jun 2013 10:58:41 +0200
From: Giacomo Tesio <[email protected]>
Subject: Re: [Haskell-beginners] Haskell GTK
To: The Haskell-Beginners Mailing List - Discussion of primarily
beginner-level topics related to Haskell <[email protected]>
Message-ID:
<cahl7pshu5u7kvs9sejea1b_ja+i_kx8cyfdauzmnmabxd-4...@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"
Thanks, but no, it doesn't help... I have to stick with GTK.
Most of the GUI examples I saw are toy programs.
Leksah is a notable exception, but it's way too complex to be a useful
learning tool.
In OO languages, I'm used to the MVP pattern which helps to organize the
code.
But I'm finding so complex building GUI in haskell that I'm starting to
think that it's not a good choice for such task.
Giacomo
On Mon, Jun 10, 2013 at 2:52 AM, Tim Perry <[email protected]> wrote:
> Did you try this:
> http://en.m.wikibooks.org/wiki/Haskell/GUI
>
> I hope it helps.
> Tim
>
>
> On Jun 9, 2013, at 10:22 AM, Giacomo Tesio <[email protected]> wrote:
>
> I have to write a "simple" GUI that plot some timeseries with a few
> parameterization (dates, times and so on...).
> The task should be simple, but I'm find using the GTK binding quite weird.
>
> I'm surprised that nothing better exists for GUI programming in haskell. I
> read a few about FRP but AFAIK it doesn't adress simple desktop UI full of
> input to validate and grid/tree to show.
>
> Any suggestion? I've already read the pages on Hackage without much
> success.
> At least, can someone point me to the right direction for the codebase
> organization?
>
>
> Giacomo
>
> _______________________________________________
> Beginners mailing list
> [email protected]
> http://www.haskell.org/mailman/listinfo/beginners
>
>
> _______________________________________________
> Beginners mailing list
> [email protected]
> http://www.haskell.org/mailman/listinfo/beginners
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://www.haskell.org/pipermail/beginners/attachments/20130610/86a40ad8/attachment-0001.htm>
------------------------------
Message: 6
Date: Mon, 10 Jun 2013 11:17:21 +0200
From: Krzysztof Skrz?tnicki <[email protected]>
Subject: Re: [Haskell-beginners] Haskell GTK
To: The Haskell-Beginners Mailing List - Discussion of primarily
beginner-level topics related to Haskell <[email protected]>
Message-ID:
<CAM7aEVFh=fCm4FsgnZmj5LQ0kFNrKiUx0k_15+9BosD=ogx...@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"
If you want a bit more complex GTK programs you can look at these:
https://github.com/Tener/spike -- web browser
https://github.com/Tener/sheep-transfer -- local network file sharing
However, I'm *not* satisfied by the current state of GUI programming in
Haskell. Both programs above are using GTK just because there is nothing
better. GTK is a pain to install on Windows too.
On Mon, Jun 10, 2013 at 10:58 AM, Giacomo Tesio <[email protected]> wrote:
> Thanks, but no, it doesn't help... I have to stick with GTK.
>
> Most of the GUI examples I saw are toy programs.
> Leksah is a notable exception, but it's way too complex to be a useful
> learning tool.
>
> In OO languages, I'm used to the MVP pattern which helps to organize the
> code.
> But I'm finding so complex building GUI in haskell that I'm starting to
> think that it's not a good choice for such task.
>
>
> Giacomo
>
>
> On Mon, Jun 10, 2013 at 2:52 AM, Tim Perry <[email protected]> wrote:
>
>> Did you try this:
>> http://en.m.wikibooks.org/wiki/Haskell/GUI
>>
>> I hope it helps.
>> Tim
>>
>>
>> On Jun 9, 2013, at 10:22 AM, Giacomo Tesio <[email protected]> wrote:
>>
>> I have to write a "simple" GUI that plot some timeseries with a few
>> parameterization (dates, times and so on...).
>> The task should be simple, but I'm find using the GTK binding quite weird.
>>
>> I'm surprised that nothing better exists for GUI programming in haskell.
>> I read a few about FRP but AFAIK it doesn't adress simple desktop UI full
>> of input to validate and grid/tree to show.
>>
>> Any suggestion? I've already read the pages on Hackage without much
>> success.
>> At least, can someone point me to the right direction for the codebase
>> organization?
>>
>>
>> Giacomo
>>
>> _______________________________________________
>> Beginners mailing list
>> [email protected]
>> http://www.haskell.org/mailman/listinfo/beginners
>>
>>
>> _______________________________________________
>> Beginners mailing list
>> [email protected]
>> http://www.haskell.org/mailman/listinfo/beginners
>>
>>
>
> _______________________________________________
> Beginners mailing list
> [email protected]
> http://www.haskell.org/mailman/listinfo/beginners
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://www.haskell.org/pipermail/beginners/attachments/20130610/796b4bce/attachment.htm>
------------------------------
_______________________________________________
Beginners mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/beginners
End of Beginners Digest, Vol 60, Issue 16
*****************************************