Re: [Haskell-cafe] Parallel programming in Haskell : a reading list

2009-09-03 Thread Matthew Brecknell
Don Stewart wrote: > > http://donsbot.wordpress.com/2009/09/03/parallel-programming-in-haskell-a-reading-list/ > > Are there any good resources I'm missing? http://www.haskell.org/~simonmar/papers/concurrent-data.pdf ___ Haskell-Cafe mailing lis

[Haskell-cafe] Parallel programming in Haskell : a reading list

2009-09-03 Thread Don Stewart
Here's a reading list for parallel programming in Haskell (via GHC) I've collected while preparing a tutorial. Might be interesting to those trying to get into multicore Haskell right now, http://donsbot.wordpress.com/2009/09/03/parallel-programming-in-haskell-a-reading-list/ Are there any g

Re: [Haskell-cafe] Problem on existential type.

2009-09-03 Thread Miguel Mitrofanov
Your data type GridWidget doesn't have a parameter, yet you use it like it has one. data GridWidget = forall widget. (WidgetClass widget) => GridWidget widget ^ | NB:-+ liftGW :: (GridWidget widget) -> (widget -> t) -> t

Re: [Haskell-cafe] [Long] 'Fun' with types

2009-09-03 Thread Colin Adams
2009/9/4 David Menendez : > On Thu, Sep 3, 2009 at 6:34 PM, Maciej Piechotka wrote: >>                            (df <<< dg, > > Should that be "df *** dg"? Is swearing allowed on this mailing list? :-) -- Colin Adams Preston, Lancashire, ENGLAND ___

[Haskell-cafe] Problem on existential type.

2009-09-03 Thread Magicloud Magiclouds
Hi, I am trying out existential type, some sample code works well. Well, my own code could not be compiled with message: Grid.hs:45:11: Kind error: `GridWidget' is applied to too many type arguments In the type `GridWidget widget' In the type `(GridWidget widget) -> (widget -> t) -> t

Re: [Haskell-cafe] [Long] 'Fun' with types

2009-09-03 Thread David Menendez
On Thu, Sep 3, 2009 at 6:34 PM, Maciej Piechotka wrote: > I'm somehow experimenting with GADT. I'm implementing FRP system and I > get such error: >    Occurs check: cannot construct the infinite type: a = (a, b) >    In the pattern: CircuitSplit f g >    In the definition of `createChannel': >    

[Haskell-cafe] ANN: vty-4.0.0.1 released

2009-09-03 Thread Corey O'Connor
Vty is a terminal UI library. Release 4.0.0.1 brings a number of important fixes, features, and performance enhancements. - Completely rewritten output backend. - Efficient, "scanline rasterization" style output span generator. Has not been fully optimized, but should be fast enough. - Terminfo

Re: [Haskell-cafe] ANN: haskell-src-exts-1.1.4

2009-09-03 Thread Niklas Broberg
> Roundtrip is an important milestone for automated refactoring tools. Nice > work! Thanks a lot! Refactoring was indeed the 'killer app' in mind when writing the exact-printer. For instance I don't expect it to be hard to get HLint to apply suggestions automatically now, instead of just suggestin

[Haskell-cafe] [Long] 'Fun' with types

2009-09-03 Thread Maciej Piechotka
I'm somehow experimenting with GADT. I'm implementing FRP system and I get such error: Occurs check: cannot construct the infinite type: a = (a, b) In the pattern: CircuitSplit f g In the definition of `createChannel': createChannel (CircuitSplit f g) = l

Re: [Haskell-cafe] ANN: haskell-src-exts-1.1.4

2009-09-03 Thread John A. De Goes
Roundtrip is an important milestone for automated refactoring tools. Nice work! Regards, John A. De Goes N-Brain, Inc. The Evolution of Collaboration http://www.n-brain.net|877-376-2724 x 101 On Sep 3, 2009, at 2:57 PM, Niklas Broberg wrote: Fellow Haskelleers, I'm pleased to an

[Haskell-cafe] ANN: haskell-src-exts-1.1.4

2009-09-03 Thread Niklas Broberg
Fellow Haskelleers, I'm pleased to announce the release of haskell-src-exts-1.1.4! * On hackage: http://hackage.haskell.org/package/haskell-src-exts * Via cabal: cabal install haskell-src-exts * Via darcs: darcs get http://code.haskell.org/haskell-src-exts * Report bugs: http://trac.haskell.org/

[Haskell-cafe] Fwd: [BostonHaskell] Next meeting: September 16th at MIT (32G-882)

2009-09-03 Thread Ravi Nanavati
I'm pleased to announce the September meeting of the Boston Area Haskell Users' Group. Based on the feedback from the meeting polls and the constraints of our speaker, the September meeting has been scheduled for Wednesday, September 16th from 7pm - 9pm. I've decided to move the meeting time back

Re: [Haskell-cafe] ANNOUNCE: lenses -- Simple Functional Lenses

2009-09-03 Thread david48
On Thu, Sep 3, 2009 at 3:34 PM, Job Vranish wrote: > It looks like the haddock documentation is generated now. There are a couple > simple examples for accessing nested state in the tutorial in the module > documentation here: > http://hackage.haskell.org/packages/archive/lenses/0.1.2/doc/html/Dat

Re: [Haskell-cafe] ANNOUNCE: lenses -- Simple Functional Lenses

2009-09-03 Thread Job Vranish
Actually they are _not_ limited to only the state monad, they just work naturally there. There are a few functions that allow you to easily use them outside a state monad (fetch, update, alter). It looks like the haddock documentation is generated now. There are a couple simple examples for access

[Haskell-cafe] Re: Snow Leopard Breaks GHC

2009-09-03 Thread Christian Maeder
It might help to add -optc-m32 -opta-m32 -optl-m32 to /usr/bin/ghci, too. (TH uses ghci) Cheers Christian Brian Sniffen wrote: > Having edit the Haskell Platform's /usr/bin/ghc in place, most > packages install fine. I'm still having trouble with Pandoc, even > given the advice: > >> Once cabal

Re: [Haskell-cafe] ANNOUNCE: lenses -- Simple Functional Lenses

2009-09-03 Thread Martijn van Steenbergen
Job Vranish wrote: A simple but powerful implementation of function lenses (aka functional references, accessors, etc..). Nice! I will definitely give it a whirl when I pick up my MUD again. I'm currently using accessors there. I see your functions are limited to use in the state monad--you'r

[Haskell-cafe] WXHaskell problem

2009-09-03 Thread Seb
I just installed WXHaskell via Cabal and tried one of the examples BouncingBalls.hs. But every time I run it I get this error message in a dialog saying: "assert "m_dynamicEvents" failed in SearchDynamicEventTable(): caller should check that we have dynamic events" It also asks me if I want to st