Re: [Haskell-cafe] The Lisp Curse

2011-05-20 Thread Roel van Dijk
On 19 May 2011 20:50, Serguey Zefirov sergu...@gmail.com wrote: The solution... I think that some ratings, like used directly by ### packages/projects and indirectly by ### would be nice, but not much. Maybe my reverse dependencies mirror of hackage could be useful here:

Re: [Haskell-cafe] blaze-builder and FlexibleInstances in code that aims to become part of the Haskell platform

2011-05-20 Thread Simon Meier
2011/5/19 Antoine Latter aslat...@gmail.com: On Thu, May 19, 2011 at 3:06 PM, Simon Meier iridc...@gmail.com wrote: The core problem that drove me towards this solution is the abundance of different IntX and WordX types. Each of them requiring a separate Write for big-endian, little-endian,

Re: [Haskell-cafe] blaze-builder and FlexibleInstances in code that aims to become part of the Haskell platform

2011-05-20 Thread Simon Meier
2011/5/20 Bas van Dijk v.dijk@gmail.com: On 19 May 2011 10:53, Johan Tibell johan.tib...@gmail.com wrote: Long term we'd like to switch bytestring over from ForeignPtr to ByteArray#, if possible. There are currently some technical obstacles to such a switch BTW I'm working with Roman

Re: [Haskell-cafe] The Lisp Curse

2011-05-20 Thread Yves Parès
it can involve several qualified imports and time researching ByteStrings/Lazy ByteStrings/ByteString.Char8 Evan is right, the right way is to use the text package (plus, it is part of the platform and is simple to use), or at least the utf8-string package (encode/decode functions). I personnaly

Re: [Haskell-cafe] blaze-builder and FlexibleInstances in code that aims to become part of the Haskell platform

2011-05-20 Thread Simon Meier
2011/5/20 Henning Thielemann schlepp...@henning-thielemann.de: Simon Meier schrieb: There are many providers of Writes. Each bounded-length-encoding of a standard Haskell value is likely to have a corresponding Write. For example, encoding an Int32 as a big-endian, little-endian, and

Re: [Haskell-cafe] The Lisp Curse

2011-05-20 Thread Tillmann Vogt
Am 20.05.2011 00:00, schrieb Daniel Peebles: I don't think there's really a clear solution to that though, other than gently encouraging collaboration and scoping out of existing work before starting new work. But people generally hate working with other people's code, so I doubt that'll have

Re: [Haskell-cafe] The Lisp Curse

2011-05-20 Thread Markus Läll
What's stopping it from being put on the official hackage? I use it quite a lot to find well established packages and/or example code, and am quite fond of it. But it is only visible when you know that this exists. On Fri, May 20, 2011 at 10:28 AM, Roel van Dijk vandijk.r...@gmail.comwrote: On

Re: [Haskell-cafe] The Lisp Curse

2011-05-20 Thread Roel van Dijk
On 20 May 2011 12:46, Markus Läll markus.l...@gmail.com wrote: What's stopping it from being put on the official hackage? I use it quite a lot to find well established packages and/or example code, and am quite fond of it. But it is only visible when you know that this exists. Poor timing. I

Re: [Haskell-cafe] The Lisp Curse

2011-05-20 Thread Jesper Louis Andersen
On Thu, May 19, 2011 at 20:33, Andrew Coppin andrewcop...@btinternet.com wrote: Ok, I'll bite. To all the people who look at Hackage, see that there are 6 different libraries for processing Unicode text files, and claim that this is somehow a *good* thing, I offer the above essay as a

[Haskell-cafe] 。就qhyrdvefhvfgyvvr,fhfxuhxxyvvhvvvvvghvvvvvrvvvvvvvvevx。

2011-05-20 Thread andrew
466 ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] Status of Haskell + Mac + GUIs graphics

2011-05-20 Thread Jeremy O'Donoghue
That's correct - I haven't yet got a stable solution for using ghci with wxHaskell - Jeremy On 18 May 2011 20:33, Conal Elliott co...@conal.net wrote: Last I heard, wx still had the problem of crashing its host the second time one opens a window (which is typical in ghci). And last I heard,

Re: [Haskell-cafe] Status of Haskell + Mac + GUIs graphics

2011-05-20 Thread Jeremy O'Donoghue
On 19 May 2011 14:01, Heinrich Apfelmus apfel...@quantentunnel.de wrote: Conal Elliott wrote: Last I heard, wx still had the problem of crashing its host the second time one opens a window (which is typical in ghci). And last I heard, Jeremy O'Donoghue (cc'd) was exploring solutions but had

Re: [Haskell-cafe] wxHaskell on Mac (Was: Status of Haskell + Mac + GUIs graphics)

2011-05-20 Thread Jeremy O'Donoghue
On 19 May 2011 00:03, Eric Y. Kow eric@gmail.com wrote: On Wed, May 18, 2011 at 15:06:02 -0400, Tom Murphy wrote: Is there a way to build an installer that would make this process easier? I've sent a pull request to the maintainer of homebrew. Hopefully it should then just be a matter

Re: [Haskell-cafe] blaze-builder and FlexibleInstances in code that aims to become part of the Haskell platform

2011-05-20 Thread Johan Tibell
Hi Simon, On Thu, May 19, 2011 at 10:46 PM, Simon Meier iridc...@gmail.com wrote: Write achieves this separation, but it has some costs which I'm not entirely comfortable with. First, it leads to lots of API duplication. For every type (e.g. Word) we want to be able serialize we have two

Re: [Haskell-cafe] Status of Haskell + Mac + GUIs graphics

2011-05-20 Thread Jeremy O'Donoghue
On 20 May 2011 02:48, Evan Laforge qdun...@gmail.com wrote: On Thu, May 19, 2011 at 5:32 PM, Felipe Almeida Lessa felipe.le...@gmail.com wrote: On Thu, May 19, 2011 at 9:23 PM, John Lask jvl...@hotmail.com wrote: A general problem with strategic response is they underestimate the effort

Re: [Haskell-cafe] The Lisp Curse

2011-05-20 Thread Simon Michael
Hey now.. maybe so, but this thread is an interesting one. ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] The Lisp Curse

2011-05-20 Thread Juan Daugherty
Prolly noted already but the original presumption is false. The optimal and right thing would be if there was an evolutionary set in each functional area from which you could choose and a common framework in which any selection from that area could work. Otherwise seems likes a purposeless

Re: [Haskell-cafe] Status of Haskell + Mac + GUIs graphics

2011-05-20 Thread Gregory Crosswhite
On 5/20/11 8:35 AM, Jeremy O'Donoghue wrote: I would like to suggest, quite seriously, that the Haskell community try to come to a consensus about supporting a single Haskell GUI, with a view to distribution in the HP. Obviously my vote is for wxHaskell, but I'm quite prepared to loose the

[Haskell-cafe] Is there a place where we can have a discussion on the merits of various GUI's various graphics? And then vote?

2011-05-20 Thread KC
:) -- -- Regards, KC ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] Is there a place where we can have a discussion on the merits of various GUI's various graphics? And then vote?

2011-05-20 Thread KC
So we can get this show on the road. Pun intended. :D On Fri, May 20, 2011 at 12:20 PM, KC kc1...@gmail.com wrote: :) -- -- Regards, KC ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] blaze-builder and FlexibleInstances in code that aims to become part of the Haskell platform

2011-05-20 Thread Simon Meier
2011/5/20 Johan Tibell johan.tib...@gmail.com: Hi Simon, On Thu, May 19, 2011 at 10:46 PM, Simon Meier iridc...@gmail.com wrote: Write achieves this separation, but it has some costs which I'm not entirely comfortable with. First, it leads to lots of API duplication. For every type (e.g.

Re: [Haskell-cafe] Status of Haskell + Mac + GUIs graphics

2011-05-20 Thread Erik Hesselink
On Fri, May 20, 2011 at 20:39, Gregory Crosswhite gcr...@phys.washington.edu wrote: On 5/20/11 8:35 AM, Jeremy O'Donoghue wrote: I would like to suggest, quite seriously, that the Haskell community try to come to a consensus about supporting a single Haskell GUI, with a view to distribution

Re: [Haskell-cafe] Status of Haskell + Mac + GUIs graphics

2011-05-20 Thread Evan Laforge
Note that it is supposed to be possible to build gtk2hs with gtk+osx, which will not use X11 but use the native OS X GUI. I've not been able to get this to work, but it's been a while since I tried. The Haskell wiki mentions it doesn't support Glade, but does support Cairo. If this were to

[Haskell-cafe] Can't access map value with key.

2011-05-20 Thread michael rice
What am I doing wrong in the last line of main? If I comment out the last line of main, my program prints the map (mp) that is created. If I leave it in, the program fails. The last line should print the list [I]. Michael import

Re: [Haskell-cafe] Can't access map value with key.

2011-05-20 Thread Arlen Cuss
On Fri, 2011-05-20 at 19:04 -0700, michael rice wrote: markov4.hs:35:27: Couldn't match expected type `Map k a' against inferred type `(Map Prefix [String], Prefix, [String])' ghc seems to believe `mp' here is not just a map, but the entire state (which is what execState is meant to give

[Haskell-cafe] In several chapters there is a penetrating conceptual analysis of the matter at hand, on which a superstructure of code is erected.

2011-05-20 Thread KC
Interesting comment on the book The Fun of Programming in JOOP. In several chapters there is a penetrating conceptual analysis of the matter at hand, on which a superstructure of code is erected. -- -- Regards, KC ___ Haskell-Cafe mailing list

[Haskell-cafe] Extension for Pearls of Functional Algorithm Design by Richard Bird, 2010, page 25 #Haskell

2011-05-20 Thread KC
Extension for Pearls of Functional Algorithm Design by Richard Bird, 2010, page 25 #Haskell --- --- module SelectionProblem where import

Re: [Haskell-cafe] Extension for Pearls of Functional Algorithm Design by Richard Bird, 2010, page 25 #Haskell

2011-05-20 Thread Daniel Peebles
Do you have some sort of link aggregator that auto-posts to haskell-cafe? On Sat, May 21, 2011 at 12:09 AM, KC kc1...@gmail.com wrote: Extension for Pearls of Functional Algorithm Design by Richard Bird, 2010, page 25 #Haskell