X-Git-Url: http://lambda.jimpryor.net/git/gitweb.cgi?p=lambda.git;a=blobdiff_plain;f=exercises%2Fassignment5_answers.mdwn;h=0cdfa6127906806cc805881cbc6e2ae8a913a920;hp=9618cd3c2f58a16d429703933fc0431a67d0c4d1;hb=a13c98f96217650e2404b044ea2d380a0dbc8bb9;hpb=de94d2c8287657b6c31f3f645473f6472f818762 diff --git a/exercises/assignment5_answers.mdwn b/exercises/assignment5_answers.mdwn index 9618cd3c..0cdfa612 100644 --- a/exercises/assignment5_answers.mdwn +++ b/exercises/assignment5_answers.mdwn @@ -436,6 +436,8 @@ Again, we've left some gaps. (The use of `type` for the first line in Haskell an type lambda_term = Var of identifier | Abstract of identifier * lambda_term | App of lambda_term * lambda_term + + 16. Write a function `occurs_free` that has the following type: occurs_free : identifier -> lambda_term -> bool