[Haskell-cafe] Interesting feature

Neil Mitchell ndmitchell at gmail.com
Mon Jul 7 07:01:39 EDT 2008


>  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 first
>  is set.

Here is how to do it in Haskell:




More information about the Haskell-Cafe mailing list