haskell code

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

haskell code

toutibac

hi,

is someone able to write this code with other manner wich give the same result.

evalL env (Lslet xs e) =
    let fonc [] y = env y
        fonc ((x,e):xs) y = if x == y then evalL (fonc xs) e else  
        fonc xs y
 in evalL (fonc xs) e