[Haskell-cafe] Interesting feature

2008-07-07 Thread fero
Hi I have read in one tutorial (I can't find it again, but it was probably either one on ibm, gentle introduction or yaht), that it is possible to define relationships between free variables and the same program can be used to calculate either first variable when second is set or second when

Re: [Haskell-cafe] Interesting feature

2008-07-07 Thread Henning Thielemann
On Mon, 7 Jul 2008, fero wrote: Hi I have read in one tutorial (I can't find it again, but it was probably either one on ibm, gentle introduction or yaht), that it is possible to define relationships between free variables and the same program can be used to calculate either first variable

Re: [Haskell-cafe] Interesting feature

2008-07-07 Thread Robin Green
On Mon, 07 Jul 2008 12:30:34 +0200 (CEST) Henning Thielemann [EMAIL PROTECTED] wrote: Actually the type system of Haskell is also logic programming. I have implemented a simple kind of logic programming using lazy peano numbers: http://darcs.haskell.org/unique-logic/ There is also Curry

Re: [Haskell-cafe] Interesting feature

2008-07-07 Thread Janis Voigtlaender
Robin Green wrote: On Mon, 07 Jul 2008 12:30:34 +0200 (CEST) Henning Thielemann [EMAIL PROTECTED] wrote: Actually the type system of Haskell is also logic programming. I have implemented a simple kind of logic programming using lazy peano numbers: http://darcs.haskell.org/unique-logic/

Re: [Haskell-cafe] Interesting feature

2008-07-07 Thread Jules Bean
fero wrote: Hi I have read in one tutorial (I can't find it again, but it was probably either one on ibm, gentle introduction or yaht), that it is possible to define relationships between free variables and the same program can be used to calculate either first variable when second is set or

Re: [Haskell-cafe] Interesting feature

2008-07-07 Thread Neil Mitchell
Hi Hi I have read in one tutorial (I can't find it again, but it was probably either one on ibm, gentle introduction or yaht), that it is possible to define relationships between free variables and the same program can be used to calculate either first variable when second is set or

Re: [Haskell-cafe] Interesting feature

2008-07-07 Thread fero
Thanks a lot Neil, I will definitely read it. I searched google and found the same article here for free http://www.cs.chalmers.se/~emax/wired/documents/LP_HFL07.pdf I didn't know that Haskell commuity is so alive. Much more answers in much less time than when I wrote something to jav:) Fero