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:  book question (Tom Murphy)
   2. Re:  Why aren't David Harley's QT bindings more popular?
      (Mats Rauhala)
   3. Re:  A first try (Heinrich Apfelmus)
   4. Re:  Why aren't David Harley's QT bindings more   popular?
      (Heinrich Apfelmus)


----------------------------------------------------------------------

Message: 1
Date: Tue, 28 Jun 2011 15:21:45 -0400
From: Tom Murphy <[email protected]>
Subject: Re: [Haskell-beginners] book question
To: Michael Orlitzky <[email protected]>
Cc: [email protected]
Message-ID: <[email protected]>
Content-Type: text/plain; charset=ISO-8859-1

On 6/28/11, Michael Orlitzky <[email protected]> wrote:
> On 06/28/11 14:28, Tom Murphy wrote:
>> On 6/27/11, Roelof Wobben <[email protected]> wrote:
>> [...]
>>>
>>> book.realworld.haskelll :
>>>
>>> Nice book with exercises but you need some functions to solve the
>>> exercises
>>> which are not mentioned in the book.
>>> So there it will be very confusing.
>>>
>>
>> Hi Roelof,
>>      It might seem like that - because RWH is a big book, and the
>> functions may be hidden in an earlier section - but RWH is a
>> beginner's book, which assumes no previous knowledge of Haskell.
>>
>
> As a Haskell beginner, I will suggest that a less true statement has
> never been made.
>


     Really? I was saying that from experience, having started on
Haskell with RWH.
     What types of things are assumed knowledge?
     (I have experience in programming imperative languages, though,
so maybe that helped me)

Tom



------------------------------

Message: 2
Date: Wed, 29 Jun 2011 09:39:10 +0300
From: Mats Rauhala <[email protected]>
Subject: Re: [Haskell-beginners] Why aren't David Harley's QT bindings
        more popular?
To: [email protected]
Message-ID: <[email protected]>
Content-Type: text/plain; charset="us-ascii"

On 10:11 Tue 28 Jun     , Heinrich Apfelmus wrote:
> wxHaskell intends to get into the Haskell Platform, but it needs
> more manpower. You can help!
> 
>   http://comments.gmane.org/gmane.comp.lang.haskell.wxhaskell.devel/616
> 
> I'm actively working on FRP and have released the library
> 
>   http://hackage.haskell.org/package/reactive-banana
> 
> If you have any suggestions, questions, needs for learning material,
> write me an email. Try the package and the developer blog
> 
> http://apfelmus.nfshost.com/blog.html#functional-reactive-programming-frp
> 
> and tell me of your learning journey; I'll figure out whether I
> should create a written tutorial, video tutorial or something else
> to help understand FRP.
> 
> 
> The package
> 
>   http://hackage.haskell.org/package/reactive-banana-wx
> 
> includes a tiny working example for  wxHaskell .
> 
> 
> Best regards,
> Heinrich Apfelmus

That seems promising. If you're really trying to get wxhaskell into
Haskell Platform, it must be more mature than I initially thought.

wxHaskell itself seems to be more functional than the GTK library I'm
used to, which is enough motivation to try and learn it. Add to it the
reactive-bananas library, and this might become something great. I
initially had the idea that reactive-bananas was a little more than just
a proof of concept, but seems like I was mistaken about that too :).
Keep up the good work.

-- 
Mats Rauhala
MasseR
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: 
<http://www.haskell.org/pipermail/beginners/attachments/20110629/0c9460fd/attachment-0001.pgp>

------------------------------

Message: 3
Date: Wed, 29 Jun 2011 10:30:47 +0200
From: Heinrich Apfelmus <[email protected]>
Subject: Re: [Haskell-beginners] A first try
To: [email protected]
Message-ID: <[email protected]>
Content-Type: text/plain; charset=UTF-8; format=flowed

David Place wrote:
> On Jun 28, 2011, at 8:39 AM, Heinrich Apfelmus wrote:
> 
>> There is still a return value, but  withFile  makes sure that it's
>> evaluated to WHNF. If you choose a = (), then you're fine,
>> otherwise it's not entirely foolproof.
> 
> Yes, I was wondering about this.  Since it is still possible to get
> in trouble in exactly the same way, why is this an improvement over
> withFile?  If you return () from withFile, you have the same benefit.

The improvement is that my variant of  withFile  absorbs a few more 
moving parts, namely calling  hGetContents  and forcing the result.

It is still possible to write programs that return unexpected _|_, but 
they violate a clear conceptual guideline ("only fully evaluated values 
may escape the scope of  withFile "). Granted, Iteratees make it 
impossible to write such programs, but they come with the terrible price 
of code duplication.


Best regards,
Heinrich Apfelmus

--
http://apfelmus.nfshost.com




------------------------------

Message: 4
Date: Wed, 29 Jun 2011 10:59:16 +0200
From: Heinrich Apfelmus <[email protected]>
Subject: Re: [Haskell-beginners] Why aren't David Harley's QT bindings
        more    popular?
To: [email protected]
Message-ID: <[email protected]>
Content-Type: text/plain; charset=UTF-8; format=flowed

Mats Rauhala wrote:
> Heinrich Apfelmus wrote:
>> wxHaskell intends to get into the Haskell Platform, but it needs
>> more manpower. You can help!
>>
>>   http://comments.gmane.org/gmane.comp.lang.haskell.wxhaskell.devel/616
>>
>> I'm actively working on FRP and have released the library
>>
>>   http://hackage.haskell.org/package/reactive-banana
>>
>> If you have any suggestions, questions, needs for learning material,
>> write me an email. Try the package and the developer blog
>>
>> http://apfelmus.nfshost.com/blog.html#functional-reactive-programming-frp
>>
>> and tell me of your learning journey; I'll figure out whether I
>> should create a written tutorial, video tutorial or something else
>> to help understand FRP.
>>
>>
>> The package
>>
>>   http://hackage.haskell.org/package/reactive-banana-wx
>>
>> includes a tiny working example for  wxHaskell .
>>
> 
> That seems promising. If you're really trying to get wxhaskell into
> Haskell Platform, it must be more mature than I initially thought.

(Just to clarify: I'm not involved in the wxHaskell project, I'm just 
cheering for it.)

> wxHaskell itself seems to be more functional than the GTK library I'm
> used to, which is enough motivation to try and learn it. Add to it the
> reactive-bananas library, and this might become something great. I
> initially had the idea that reactive-bananas was little more than just
> a proof of concept, but seems like I was mistaken about that too :).
> Keep up the good work.

Indeed, reactive-banana intended to be a solid work horse. :) The FRP 
model is quite conservative because of this.

Of course, the library does cover new ground, nobody has figured out the 
most pleasant abstractions for dealing with common GUI tasks yet, but 
I'm in the process of finding some out.

I would like to encourage you to try it out and get back to me with any 
issues you have, both concerning documentation/learning and 
functionality. For instance, one of the authors of Leksah has 
experimented with it; while he had more ambitious plans than 
reactive-banana can handle at the moment, it prompted me to come up with 
the pleasing improvements in version 0.3. Not to mention that I now have 
a new use case to keep in mind for the big picture.


Best regards,
Heinrich Apfelmus

--
http://apfelmus.nfshost.com




------------------------------

_______________________________________________
Beginners mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/beginners


End of Beginners Digest, Vol 36, Issue 80
*****************************************

Reply via email to