Re: [Haskell] Announcing Djinn, version 2004-12-11, a coding wizard

2011-04-07 Thread Lennart Augustsson
Djinn takes a type, what you have written does not appear to be a type. -- Lennart On Thu, Apr 7, 2011 at 3:35 PM, Martin wrote: > > After reading this post, i can only see a -> b > > how to define more specific such as > > flow 0 y = y > flow z flow x, y = flow z+x, y > > could you demonstra

Re: [Haskell] Announcing Djinn, version 2004-12-11, a coding wizard

2011-04-07 Thread Ivan Lazar Miljenovic
On 7 April 2011 14:35, Martin wrote: > > flow 0 y = y > flow z flow x, y = flow z+x, y This doesn't appear to be a valid function definition... -- Ivan Lazar Miljenovic ivan.miljeno...@gmail.com IvanMiljenovic.wordpress.com ___ Haskell mailing list H

Re: [Haskell] Announcing Djinn, version 2004-12-11, a coding wizard

2011-04-07 Thread Martin
After reading this post, i can only see a -> b how to define more specific such as flow 0 y = y flow z flow x, y = flow z+x, y could you demonstrate using djinn to do above mapping definition to generate a function? ___ Haskell mailing list Hask

Re: [Haskell] Announcing Djinn, version 2004-12-11, a coding wizard

2005-12-11 Thread Donald Bruce Stewart
lennart: > Howdy, y'all! > > I've written a small program that takes a (Haskell) type > and gives you back a function of that type if one exists. > It's kind of fun, so I thought I'd share it. > > It's probably best explained with a sample session. > > calvin% djinn > Welcome to Djinn versio

[Haskell] Announcing Djinn, version 2004-12-11, a coding wizard

2005-12-11 Thread Lennart Augustsson
Howdy, y'all! I've written a small program that takes a (Haskell) type and gives you back a function of that type if one exists. It's kind of fun, so I thought I'd share it. It's probably best explained with a sample session. calvin% djinn Welcome to Djinn version 2005-12-11. Type :h to g