Re: [Haskell-cafe] Library API design: functional objects VS type classes

2013-03-05 Thread Atsuro Hoshino
Hi Rob, I usually prefer type class approach for early stage of development. Type class approach is more flexible, less works required. One might get a function with lots of constraints, and quite a lot of language extensions may appear, though it works. Once things got settled down, I

Re: [Haskell-cafe] Compiling dph package with ghc-7.4.0.20111219

2012-01-22 Thread Atsuro Hoshino
I don't know so much about ghc-7.4, but if loading dph codes in ghci is the main matter here, below might help: http://warmfuzzything.posterous.com/loading-dph-codes-in-ghci Best, -- Atsuro Hoshino On Sun, Jan 22, 2012 at 2:58 AM, Brandon Allbery allber...@gmail.com wrote: On Sat, Jan 21

Re: [Haskell-cafe] Error in converting List of Lists into PArray ( Parray a )

2012-01-18 Thread Atsuro Hoshino
nor default method for class operation -- Data.Array.Parallel.PArray.PData.fromListPR -- -- print mat_pa_1 print mat_pa_2 Hope this well help. Regards, -- Atsuro Hoshino On Thu, Jan 19, 2012 at 4:47 AM, mukesh tiwari mukeshtiwari.ii...@gmail.com wrote: Hello all I am trying