Re: [Haskell-cafe] A numpy equivalent for Haskell

2010-01-18 Thread Yair Chuchem
On Mon, Jan 18, 2010 at 4:56 PM, Ivan Lazar Miljenovic wrote: > Did you know about hmatrix (available on Hackage) before you wrote this? yes. hmatrix is equivalent to other parts of numpy. iirc hmatrix is a wrapper for algorithms from GSL+BLAS+LAPACK. numkell is only equivalent to numpy's core ar

Re: [Haskell-cafe] Some useful TH templates

2009-11-23 Thread Yair Chuchem
On Mon, Nov 23, 2009 at 11:50 AM, Neil Mitchell wrote: > This looks very nice. Have you thought about putting this code in to > the Derive package? (http://community.haskell.org/~ndm/derive, and > also on Hackage). Hi Neil, If you think this would belong in Derive, then, cool, let's do it :) I'll

[Haskell-cafe] Some useful TH templates

2009-11-19 Thread Yair Chuchem
Hi, I wrote some Template Haskell templates that I think may be of use to others. The first generates "in" and "with" functions for newtypes. For example, using it one can replace this code (from TypeCompose): > inFlip :: ((a~>b) -> (a' ~~> b')) -> (Flip (~>) b a -> Flip (~~>) b' a') > inFlip =

[Haskell-cafe] ANNOUNCE: generator

2009-07-15 Thread Yair Chuchem
A new "generator" package has been uploaded to Hackage. It implements an alternative list monad transformer, a list class, and related functions. The difference from mtl/transformers's ListT is that mtl is a monadic action that returns a list: newtype ListT m a = ListT { runListT :: m [a] } g