Re: [Haskell-cafe] Seeking Control.Lens Combinator

2013-10-05 Thread Niklas Haas
On Fri, 4 Oct 2013 16:23:23 -0700, Charlie Paul wrote: > Hello, > > I'm looking for a combinator along the lines of > (&&&) :: Lens' a b -> Lens' a b' -> Lens' a (b,b') > I can see how it could lead to lenses that don't follow the laws, but > for Lenses which are somehow independent (like _1 and

Re: [Haskell-cafe] Newclasses

2013-10-05 Thread Wvv
Stijn van Drongelen wrote > On Fri, Oct 4, 2013 at 10:31 PM, Wvv < > vitea3v@ > > wrote: >> About newclass and compose data, we can do next: >> >>newclass Foo [a] => FooList a where {containerMainipulation=...} >> >>newclass Foo (Set a) => FooSet a where {containerMainipulation=...} >> >>

[Haskell-cafe] New command line parsing package

2013-10-05 Thread Simon bergot
Hello all, I have recently uploaded argparser, a command line parser library. I made it because of 3 reasons: - I am writing more and more scripts in haskell instead of python - I did not want to use the ones presented here

Re: [Haskell-cafe] Seeking Control.Lens Combinator

2013-10-05 Thread Sebastiaan Visser
Charles, I know you specifically asked for a Control.Lens combinator and I don't have one for you, but I take the opportunity to show you how easy this is using fclabels: tupleUp :: f :-> a -> f :-> b -> f :-> (a, b) tupleUp a b = point $ (,) <$> L.fst >- a

Re: [Haskell-cafe] building a FFI library with cabal

2013-10-05 Thread Tad Doxsee
With a big help from the community, I've fixed my problem. I had to include the extra-libraries when building the hcholmod library. I'll push a new version later today. Tad On Fri, Oct 4, 2013 at 12:36 PM, Tad Doxsee wrote: > Hi, > > I'm trying to create an FFI library to CHOLMOD ( > http:/

Re: [Haskell-cafe] ANN: E-book version of the Typeclassopedia

2013-10-05 Thread Dan Frumib
Thanks, that looks useful! :) > On 04 Oct 2013, at 17:13, Erlend Hamberg wrote: > > While re-reading Brent Yorgey's Excellent Typeclassopedia I converted it > to Pandoc Markdown in order to be able to create an EPUB version. Having > a “real” e-book meant that I could comfortably read it on my e

Re: [Haskell-cafe] ANN: E-book version of the Typeclassopedia

2013-10-05 Thread Flavio Villanustre
Very useful, thanks! On Oct 4, 2013 9:13 AM, "Erlend Hamberg" wrote: > While re-reading Brent Yorgey's Excellent Typeclassopedia I converted it > to Pandoc Markdown in order to be able to create an EPUB version. Having > a “real” e-book meant that I could comfortably read it on my e-book > reader

[Haskell-cafe] Announce: HDBI-1.2 and friends

2013-10-05 Thread Aleksey Uymanov
Hello, haskellers! Here is HDBI-1.2 and some friends There is class `FromRow` and `ToRow` from this version as well as hdbi-conduit package. So, you can write your code like this: {-# LANGUAGE OverloadedStrings , TemplateHaskell #-} import Control.Monad.IO.Class import Data.Conduit import D

[Haskell-cafe] Haskellers in Minsk, Belarus?

2013-10-05 Thread Yuras Shumovich
Hi, I just read an article (sorry, it is in russian: http://habrahabr.ru/post/196454/ ). The idea I found interesting: even in big citied developers complain that nothing happens at their location, but when you try to make an event -- only few of them want to participate. I never participate in

Re: [Haskell-cafe] Poll & plea: State of GUI & graphics libraries in Haskell

2013-10-05 Thread Sven Panne
2013/9/27 Heinrich Apfelmus : > Actually, I'm reading about WebGL right now, and it appears to me that it > should be very easy to support in Threepenny. [...] I am not sure if WebGL is enough: WebGL is basically OpenGL ES 2.0, which is again basically OpenGL 2.0 plus some extensions. OpenGL itsel

Re: [Haskell-cafe] Poll & plea: State of GUI & graphics libraries in Haskell

2013-10-05 Thread Sven Panne
2013/9/27 Conal Elliott : > [...] Am I mistaken about the current status? I.e., is there a solution for > Haskell GUI & graphics programming that satisfies the properties I'm looking > for (cross-platform, easily buildable, GHCi-friendly, and > OpenGL-compatible)? [...] Time warp! ;-) Point your b

[Haskell-cafe] Haskell Madrid meetup: Web development with Haskell. October 9th

2013-10-05 Thread Alberto G. Corona
Hi Spanish haskellers. Maybe it is too late for the announcement, but we will have a meetup the 9th (next Tuesday). Since the meetup group is devoted to functional programming in general, not specifically Haskell, I will give an introduction to web programming in Haskell: major platforms, librar

[Haskell-cafe] A question regarding reading CPP definitions from a C header

2013-10-05 Thread Ömer Sinan Ağacan
Hi all, Let's say I want to #include a C header file in my Haskell library just to read some macro definitions. The C header file also contains some C code. Is there a way to load only macro definitions and not C code in #include declarations in Haskell? What I'm trying to do is I'm linking my li

Re: [Haskell-cafe] Poll & plea: State of GUI & graphics libraries in Haskell

2013-10-05 Thread John Lato
I think you've misunderstood Robin's point. The problem is that each of these libraries is platform-specific. Writing an api on top of one is work enough, but writing a cross-platform api that binds to the appropriate platform-specific backend is a major undertaking. On Oct 4, 2013 7:12 PM, "Alp M