Monday, December 16th, 2002

(no subject)

Monday, December 16th, 2002 03:27 pm
flwyd: (Default)
Done with my only actual final. How's this for an answer to a question?

(λf.((λx.f(x x)) λx.f(x x))) (λg.λL.λi.(if hd L = i then true else g(L) i)) myList myInt

It calculates whether myInt is contained in myInt. I think that's right, anyway. Er, d'oh. I didn't properly insert a stopping condition. But we were allowed to assume the list wouldn't be empty, so... it only tells you if an infinite list contains myInt!

Too bad Forum 2000 isn't operative any more. I could have practiced my pure lambda calculus.

I think I'll watch Donnie Darko on DivX now so I can delete it and download more stuff.
May 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 2025

Most Popular Tags

Page Summary

Expand Cut Tags

No cut tags
Page generated Friday, June 20th, 2025 07:20 pm
Powered by Dreamwidth Studios