Re: [Haskell-cafe] List indexer

2012-09-17 Thread Edgar Klerks
Hi I find it useful. I benchmarked it with criterion and your test file (see below) and it is a *lot* faster: warming up estimating clock resolution... mean is 3.776987 us (160001 iterations) found 887 outliers among 15 samples (0.6%) 662 (0.4%) high severe estimating cost of a clock call..

Re: [Haskell-cafe] "Best" FRP package for newbie

2012-02-18 Thread edgar klerks
As beginner I really liked reactive-banana. I used it in a inhouse project for the graphical user interface (wx) and I found it easier to use than the "imperative" approach. Unfortunately the reactive-banana-wx package seems to be broken on 7.2. On 2/18/12, Adam Duracz wrote: > Hi Arnaud, > > Whi

Re: [Haskell-cafe] ismzero operator possible without equal constraint

2011-12-03 Thread edgar klerks
: Int -> [Int] -> Bool > test_foldMSl_ref x y = (foldMSl (\x y -> return $ x - y) x y) == (return (foldl (\x y -> x - y) x y)) > On Sat, Dec 3, 2011 at 11:39 PM, David Menendez wrote: > On Sat, Dec 3, 2011 at 3:55 PM, Antoine Latter wrote: > > On Sat, Dec 3, 201

Re: [Haskell-cafe] ismzero operator possible without equal constraint

2011-12-03 Thread edgar klerks
gt; implement miszero for it. > > Arseniy. > > On 3 December 2011 16:55, edgar klerks wrote: > > Hi list, > > > > I am using MonadSplit > > (from http://www.haskell.org/haskellwiki/New_monads/MonadSplit ) for a > > project and now I want to make a library

[Haskell-cafe] ismzero operator possible without equal constraint

2011-12-03 Thread edgar klerks
Hi list, I am using MonadSplit (from http://www.haskell.org/haskellwiki/New_monads/MonadSplit ) for a project and now I want to make a library out of it. This seems to be straightforward, but I got stuck when I tried to move miszero out of the class: miszero :: m a -> Bool It tests if the provi

Re: [Haskell-cafe] Poll: Do you want a mascot?

2011-11-27 Thread edgar klerks
Yes and I like that one. :D On Fri, Nov 25, 2011 at 9:46 AM, Liyang HU wrote: > On 25 November 2011 17:28, Ivan Lazar Miljenovic < > ivan.miljeno...@gmail.com> > wrote: > >> And we already have one: http://paraiso-lang.org/ikmsm/books/c80.html > > Uh. W...T...F...??? > > Do I want to kno

Re: [Haskell-cafe] help me evangelize haskell.

2010-09-06 Thread edgar klerks
Hi All, Not a complete guide, but just something, which can help: Perl6 is inspired by haskell. That was, how I end up by haskell. And I believe a lot of people of the perl community got interested in haskell that way. Maybe this works for some of collegues too. I still like perl, but haskell is