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: Simple database application with gtk (Brent Yorgey)
2. Re: Build HTTP package error (Emmanuel Touzery)
3. Re: Simple database application with gtk (Emanuel Koczwara)
4. programming novice :: chess engine interest - request for
resource suggestions. (B F)
----------------------------------------------------------------------
Message: 1
Date: Sat, 22 Dec 2012 09:19:17 -0500
From: Brent Yorgey <[email protected]>
Subject: Re: [Haskell-beginners] Simple database application with gtk
To: [email protected]
Message-ID: <[email protected]>
Content-Type: text/plain; charset=us-ascii
On Wed, Dec 19, 2012 at 10:26:37PM +0100, Emanuel Koczwara wrote:
> Hi,
>
> I'm looking for an example of database application using gtk.
>
> Here:
> http://stackoverflow.com/questions/13949405/how-to-switch-from-qt4-mvc-to-gtk-mvc
>
> user ntd pointed on libgda, but it looks like it's not covered by
> Gtk2Hs.
Just curious, why this particular specific combination? GTK has
nothing to do with databases. Wouldn't it work just as well to find
two separate examples, one of working with a database and one of using
GTK?
-Brent
------------------------------
Message: 2
Date: Sat, 22 Dec 2012 15:30:16 +0100
From: Emmanuel Touzery <[email protected]>
Subject: Re: [Haskell-beginners] Build HTTP package error
To: "[email protected]" <[email protected]>
Message-ID:
<CAC42RekeXFfVr_ZJYe2BghW=wdfr3xnmvagqndyqagp-we6...@mail.gmail.com>
Content-Type: text/plain; charset="iso-8859-1"
and ironically this same problem just happened to me right now ;-)
trying to upgrade to GHC 7.6.1 on fedora 17 as I guess you tried too.
I did that and it appears to work fine:
https://github.com/haskell/cabal/issues/1137#issuecomment-11142007
emmanuel
On Wed, Dec 19, 2012 at 3:07 PM, Emmanuel Touzery <[email protected]>wrote:
> looks like there is a bug about this:
> https://github.com/haskell/cabal/issues/1137
>
> seems you need to reinstall cabal or something like that.
>
> emmanuel
>
>
> On 19.12.2012 14:58, Alexander _ wrote:
>
> Hello,
>
> I use:
>
> ghc --version
> The Glorious Glasgow Haskell Compilation System, version 7.6.1
>
> Thank you.
>
>
> 2012/12/19 Emmanuel Touzery <[email protected]>
>
>> One more thing... For my HTTP needs I've been using without problems
>> Network.HTTP.Conduit:
>>
>> http://hackage.haskell.org/packages/archive/http-conduit/1.2.1/doc/html/Network-HTTP-Conduit.html
>>
>> but I didn't research in which ways these two packages differ.
>>
>> Emmanuel
>>
>>
>> On Wed, Dec 19, 2012 at 8:35 AM, Emmanuel Touzery <[email protected]>wrote:
>>
>>> Hello,
>>>
>>> which is your GHC version? On the page for that package it is written
>>> that it was successfully built for GHC-7.6. Maybe your GHC version is too
>>> old? Otherwise I don't have a clue.
>>>
>>> http://hackage.haskell.org/package/HTTP-4000.2.6
>>>
>>> Emmanuel
>>>
>>>
>>> On Tue, Dec 18, 2012 at 2:58 PM, Alexander _ <
>>> [email protected]> wrote:
>>>
>>>> Hello,
>>>>
>>>> I try to install HTTP package. I make:
>>>>
>>>> cabal install HTTP and got error:
>>>>
>>>> [ 1 of 18] Compiling Network.HTTP.Base64 ( Network/HTTP/Base64.hs,
>>>> dist/build/Network/HTTP/Base64.o )
>>>> [ 2 of 18] Compiling Network.HTTP.MD5Aux ( Network/HTTP/MD5Aux.hs,
>>>> dist/build/Network/HTTP/MD5Aux.o )
>>>> [ 3 of 18] Compiling Paths_HTTP ( dist/build/autogen/Paths_HTTP.hs,
>>>> dist/build/Paths_HTTP.o )
>>>>
>>>> dist/build/autogen/Paths_HTTP.hs:21:13: Not in scope: `catch'
>>>>
>>>> dist/build/autogen/Paths_HTTP.hs:22:13: Not in scope: `catch'
>>>>
>>>> dist/build/autogen/Paths_HTTP.hs:23:14: Not in scope: `catch'
>>>>
>>>> dist/build/autogen/Paths_HTTP.hs:24:17: Not in scope: `catch'
>>>> cabal: Error: some packages failed to install:
>>>> HTTP-4000.2.6 failed during the building phase. The exception was:
>>>> ExitFailure 1
>>>>
>>>> How can i install it correctly?
>>>>
>>>> Thank you.
>>>>
>>>> _______________________________________________
>>>> 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
> [email protected]http://www.haskell.org/mailman/listinfo/beginners
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://www.haskell.org/pipermail/beginners/attachments/20121222/b62f738d/attachment-0001.htm>
------------------------------
Message: 3
Date: Sat, 22 Dec 2012 16:00:50 +0100
From: Emanuel Koczwara <[email protected]>
Subject: Re: [Haskell-beginners] Simple database application with gtk
To: <[email protected]>
Message-ID: <[email protected]>
Content-Type: text/plain; charset=UTF-8; format=flowed
Hi,
On 22.12.2012 15:19, Brent Yorgey wrote:
> Just curious, why this particular specific combination? GTK has
> nothing to do with databases. Wouldn't it work just as well to find
> two separate examples, one of working with a database and one of
> using
> GTK?
Examples of HDBC in 'Real World Haskell' and Gtk2Hs tutorials are
sufficient, but database application with GUI it's different story. It's
all about model/view/controller. Gtk/Gtk2Hs approach is like this (using
model/view): get data from database and then duplicate them in the model
(Gtk calls the model 'store'). This is unacceptable in real world
application. There is a way, I can create my own custom model (and
implement all this myself). This is the way to go, but unfortunately
there is lack of examples. Modev/view/controller
(TreeView/ListStore/TreeStore) provided by Gtk is useless in database
context (unless one implements all missing functionalities with custom
store).
Emanuel
------------------------------
Message: 4
Date: Sun, 23 Dec 2012 02:22:34 -0600
From: B F <[email protected]>
Subject: [Haskell-beginners] programming novice :: chess engine
interest - request for resource suggestions.
To: [email protected]
Message-ID:
<CAKpxfcoX-ckT_9mxjkEdT2_=e+w44w6e+v-1fapsn7aiezr...@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"
Dear All,
So far, I have experienced nothing but a warm reception to the Haskell
community. I am new to programming (a dabbler in Python), a mathematics
grad. student and a chess enthusiast. As a personal goal, I would like to
learn Haskell by exploring ideas in chess evaluation development from the
statistical and pattern similarity side (rather than simply max ply
search).
As I will be learning principles of (functional) programming via
Haskell - in the context of chess related concepts- I would like to request
some Haskell resources that are explicative enough to suit the novice,
while at the same time tailored to learning concepts related to pattern
analysis, array methods, and matrix manipulation.
Many Many Thanks - in advance-
Diabellical
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://www.haskell.org/pipermail/beginners/attachments/20121223/1b7fa90a/attachment-0001.htm>
------------------------------
_______________________________________________
Beginners mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/beginners
End of Beginners Digest, Vol 54, Issue 35
*****************************************