Re: [Haskell-cafe] Open CV or alternate image processing library for Haskell on windows?

2011-10-26 Thread Ivan Perez
Hi, Sorry for reopening an old thread (May 2011), but I just want to report that I'm using HOpenCV and cv-combinators under windows and I just wanted to tell you that it works just fine. I downloaded the opencv2 libraries as stated on this thread, and I'm successfully building software that

[Haskell-cafe] Reminder Munich Haskell

2011-10-26 Thread Heinrich Hördegen
Hi all, this evening, Haskeller meet at Cafe Puck at 19h30: www.haskell-munich.de See you, Heinrich -- -- hoerde...@funktional.info www.funktional.info -- ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org

Re: [Haskell-cafe] Operator precedence and associativity with Polyparse

2011-10-26 Thread Christian Maeder
Am 26.10.2011 01:49, schrieb Tom Hawkins: Can someone provide guidance on how handle operator precedence and associativity with Polyparse? Do you mean parsing something like 1 + 2 * 3 ? I don't think there's any real difference in using Polyparse vs Parsec for this, except for doing p

[Haskell-cafe] Is it possible to get the information of instances of a type?

2011-10-26 Thread Magicloud Magiclouds
Hi, If this was in ruby or other languages that support reflection, it won't be a question. But in Haskell, could I write a code to list the classes that a type instanced? TemplateHaskell as well. -- 竹密岂妨流水过 山高哪阻野云飞 ___ Haskell-Cafe mailing list

Re: [Haskell-cafe] Is it possible to get the information of instances of a type?

2011-10-26 Thread Ertugrul Soeylemez
Magicloud Magiclouds magicloud.magiclo...@gmail.com wrote: If this was in ruby or other languages that support reflection, it won't be a question. But in Haskell, could I write a code to list the classes that a type instanced? In regular Haskell, type information is completely lost after

Re: [Haskell-cafe] Is it possible to get the information of instances of a type?

2011-10-26 Thread Nathan Howell
On Wed, Oct 26, 2011 at 6:53 AM, Magicloud Magiclouds magicloud.magiclo...@gmail.com wrote: But in Haskell, could I write a code to list the classes that a type instanced? TemplateHaskell as well. It's possible with TemplateHaskell. Look at classInstances and the ClassI data constructor.

Re: [Haskell-cafe] Is it possible to get the information of instances of a type?

2011-10-26 Thread MigMit
Can't be done. Even if this particular module doesn't contain instance Class Type, it's quite possible that the said instance would be defined in another module, about which this one knows nothing about. On the other hand, what would you do with that information? Отправлено с iPad 26.10.2011,

Re: [Haskell-cafe] Is it possible to get the information of instances of a type?

2011-10-26 Thread Brent Yorgey
On Wed, Oct 26, 2011 at 09:15:41AM -0700, Nathan Howell wrote: On Wed, Oct 26, 2011 at 6:53 AM, Magicloud Magiclouds magicloud.magiclo...@gmail.com wrote: But in Haskell, could I write a code to list the classes that a type instanced? TemplateHaskell as well. It's possible with

Re: [Haskell-cafe] Is it possible to get the information of instances of a type?

2011-10-26 Thread Brent Yorgey
On Wed, Oct 26, 2011 at 09:10:23PM +0400, MigMit wrote: Can't be done. Even if this particular module doesn't contain instance Class Type, it's quite possible that the said instance would be defined in another module, about which this one knows nothing about. That doesn't mean it can't be

[Haskell-cafe] ANN: Monad.Reader Issue 19

2011-10-26 Thread Brent Yorgey
I am pleased to announce that Issue 19 of The Monad.Reader, a special issue on parallelism and concurrency, is now available: http://themonadreader.files.wordpress.com/2011/10/issue19.pdf Issue 19 consists of the following three articles: * Mighttpd – a High Performance Web Server in

Re: [Haskell-cafe] ANN: Monad.Reader Issue 19

2011-10-26 Thread Bas van Dijk
On 26 October 2011 21:17, Brent Yorgey byor...@seas.upenn.edu wrote: I am pleased to announce that Issue 19 of The Monad.Reader, a special issue on parallelism and concurrency, is now available: Thanks, I always really enjoy The Monad.Reader. Issue 19 consists of the following three articles:

Re: [Haskell-cafe] Really impossible to reinstall `base' using cabal?

2011-10-26 Thread Joachim Breitner
Hi, Am Mittwoch, den 26.10.2011, 13:10 +1100 schrieb Ivan Lazar Miljenovic: How did you get your ghc? If from your distro's package manager, you should be able to get the dyn- libs from that too. Unless you distro hasn't built GHC with dynamic library support. Debian (and in extension,

Re: [Haskell-cafe] Really impossible to reinstall `base' using cabal?

2011-10-26 Thread Daniel Fischer
On Wednesday 26 October 2011, 22:58:46, Joachim Breitner wrote: Hi, Am Mittwoch, den 26.10.2011, 13:10 +1100 schrieb Ivan Lazar Miljenovic: How did you get your ghc? If from your distro's package manager, you should be able to get the dyn- libs from that too. Unless you distro

Re: [Haskell-cafe] Is it possible to get the information of instances of a type?

2011-10-26 Thread Evan Laforge
No, this lists all the instances of a class.  OP asked for the classes of which a given type is an instace. Presumably it is possible, since Haddock does it!  In the documentation generated for a type it lists classes of which the type is an instance.  So you might want to look at how

[Haskell-cafe] Haskell Weekly News: Issue 205

2011-10-26 Thread Daniel Santa Cruz
Welcome to issue 205 of the HWN, a newsletter covering developments in the Haskell community. This release covers the week of October 16 to 22, 2011. You can find an HTML version of this issue at: http://contemplatecode.blogspot.com/2011/10/haskell-weekly-news-issue-205.html Announcements