Re: [Haskell-cafe] GPL License of H-Matrix and prelude numeric

2011-01-27 Thread Ketil Malde
Chris Smith cdsm...@gmail.com writes: I disagree, I've always interpreted the license to cover the text in that particular package. There seems to be a difference in focus here that's confusing to me. When I write a library, my primary concern is generally with helping others use that

Re: [Haskell-cafe] Problem about exception

2011-01-27 Thread oleg
It seems that the problem is to follow a protocol, reporting protocol errors (unexpected responses) and permitting recovery if the `supervisor' decided that the error can be fixed by re-reading from the server. This problem -- specifically, communicating with a supervisor `out-of-band' and

Re: [Haskell-cafe] Problem about exception

2011-01-27 Thread Magicloud Magiclouds
Thank you. I am looking into it. On Thu, Jan 27, 2011 at 5:05 PM, o...@okmij.org wrote: It seems that the problem is to follow a protocol, reporting protocol errors (unexpected responses) and permitting recovery if the `supervisor' decided that the error can be fixed by re-reading from the

[Haskell-cafe] Haskell for children? Any experience?

2011-01-27 Thread Chris Smith
So I find myself being asked to plan Haskell programming classes for one hour, once a week, from September through May this coming school year. The students will be ages 11 to 13. I'm wondering if anyone has experience in anything similar that they might share with me. I'm trying to decide if

Re: [Haskell-cafe] Haskell for children? Any experience?

2011-01-27 Thread aditya siram
Ye gods! A B D [1] language for kids? At least give them a fighting chance [2] at becoming future developers. Haskell's immutability is good for mathematics but doing anything else takes a great deal of up-front patience and perseverance, two very rare qualities in that demographic if my own

Re: [Haskell-cafe] Haskell for children? Any experience?

2011-01-27 Thread Dominique Devriese
Hi, I'm also curious about this. Is a pure programming style like Haskell's less or more natural than an imperative mutable-state based one to kids without experience. I intuitively expect that for kids with a high-school background in mathematics would find the first more natural, but this is

Re: [Haskell-cafe] Haskell for children? Any experience?

2011-01-27 Thread Chris Smith
On Thu, 2011-01-27 at 15:26 +, Stephen Tetley wrote: John Peterson had some nice work using Haskore and Fran for elementary teaching on the old Haskell.org website. Google's cache says the old URL was here but its now vanished: www.haskell.org/edsl/campy/campy-2003-music.ppt That sounds

Re: [Haskell-cafe] Haskell for children? Any experience?

2011-01-27 Thread Henk-Jan van Tuyl
On Thu, 27 Jan 2011 16:26:01 +0100, Stephen Tetley stephen.tet...@gmail.com wrote: On 27 January 2011 15:04, Chris Smith cdsm...@gmail.com wrote: [SNIP] I'm wondering if anyone has experience in anything similar that they might share with me. I'm trying to decide if this is feasible, or it

Re: [Haskell-cafe] Haskell for children? Any experience?

2011-01-27 Thread Niklas Broberg
Ye gods! A B D [1] language for kids? At least give them a fighting chance [2] at becoming future developers. Haskell's immutability is good for mathematics but doing anything else takes a great deal of up-front patience and perseverance, two very rare qualities in that demographic if my

[Haskell-cafe] Building a shared library with FFI on x86_64

2011-01-27 Thread Eric Webster
I have a project that involves building a shared library containing code generated by GHC and exposed using the foreign function interface to other C programs that link against it. I'm able to build a functioning library without issue on 32bit x86 systems using GHC 6.8.2 and 6.12.3. When I try

[Haskell-cafe] Call for Copy: Monad.Reader Issue 18

2011-01-27 Thread Brent Yorgey
Whether you're an established academic or have only just started learning Haskell, if you have something to say, please consider writing an article for The Monad.Reader! The submission deadline for Issue 18 will be: **Friday, April 1, 2011** This will be a normal issue -- but

Re: [Haskell-cafe] Building a shared library with FFI on x86_64

2011-01-27 Thread Eric Webster
Thanks to http://www.well-typed.com/blog/30 I was able to figure out what I was doing wrong. Replacing -optl -shared with just -shared and using -dynamic allows linking to complete. :D On 2011-01-27 11:59 AM, Eric Webster wrote: I have a project that involves building a shared library

[Haskell-cafe] A few days to go before the old server goes down

2011-01-27 Thread Henk-Jan van Tuyl
L.S., Only four days until the old Haskell.org server disappears; I found the following missing: http://www.haskell.org/yale/ http://darcs.haskell.org/hfuse/ http://haskell.org/gtk2hs/ http://haskell.org/FranTk http://www.haskell.org/yampa/ http://www.haskell.org/visualhaskell/

Re: [Haskell-cafe] Haskell for children? Any experience?

2011-01-27 Thread Chris Smith
On Thu, 2011-01-27 at 16:40 +0100, klondike wrote: Two days ago I was referred to this project: http://wizbang.sourceforge.net/WizBang/WizBang.html The language is quite imperative but to me looks as a child friendly programming language due to its low complexity. Thanks for this and other

Re: [Haskell-cafe] tricky recursive type instance method

2011-01-27 Thread Antoine Latter
On Thu, Jan 27, 2011 at 9:35 PM, Frank Kuehnel vince...@mac.com wrote: Hi folks, how do I make this work: I want a division algebra over a field k, and I want to define the conjugation of complex numbers, i.e. conj (C 1 2) but also the conjugation of tensors of complex numbers conj (C (C

Re: [Haskell-cafe] Haskell for children? Any experience?

2011-01-27 Thread Chris Smith
On Thu, 2011-01-27 at 09:28 -0600, aditya siram wrote: Ye gods! A B D [1] language for kids? I do share those concerns. Like I said in the original post, my initial reaction was to push for something like Python. But the kids are very clear; if I'm at all willing, they want to learn Haskell!

Re: [Haskell-cafe] Cabal proxy configuration

2011-01-27 Thread Azeem -ul-Hasan
Please explain this a bit. Where are the configuration files for cabal install. I tried to enter the line in the terminal and it apparently it accepted i.e gave no error but then running cabal update results in this error No action for prompting/generating user+password credentials provided

Re: [Haskell-cafe] Cabal proxy configuration

2011-01-27 Thread Ivan Lazar Miljenovic
On 28 January 2011 16:00, Azeem -ul-Hasan aze...@live.com wrote: Please explain this a bit. Where are the configuration files for cabal install. cabal-install is configured in ~/.cabal/config However, as far as I'm aware it uses normal http connections and doesn't require any particular