PSA

Oct 11, 2006 22:38

Higher-order and curried functions are currently kicking my ass.  Wish me luck on my exam tomorrow.

ETA: I got kicked, well & truly. Here's hoping for a good curve.

Leave a comment

Comments 8

phaedrusdeinus October 12 2006, 03:34:11 UTC
Good luck! Curried functions may not seem useful now, but there are a bunch of problems out there where i would have loved to be using a curryable language.

Reply

kmunson779 October 12 2006, 15:24:52 UTC
I can see how they'd be useful, and I understand them abstractly, but actually working through evaluating them is painful at the moment. Le sigh. Thanks for the good wishes. :)

Reply


dwhistler October 12 2006, 05:29:13 UTC
good luck!

Reply

kmunson779 October 12 2006, 15:25:13 UTC
thanks!

Reply


recursivepizza October 12 2006, 14:14:01 UTC
f = λx.(λy."x y!")
(f good) luck

Reply

kmunson779 October 12 2006, 15:22:38 UTC
Man, I wish they'd taught us lambda calculus; things would be so much easier. Art helped me figure out a bunch of stuff using that method last night, but for the test, we're stuck with a "substitution model" that doesn't make as much sense. I guess I should teach myself lambda calculus so I can work things out that way, then translate into the subsitution thing they want us to do.

Reply

recursivepizza October 12 2006, 15:36:32 UTC
Here's a fairly concise and fun introduction to lambda calculus (start at the bottom and work your way up).

Reply

kmunson779 October 12 2006, 16:32:06 UTC
Thanks for the link!

Reply


Leave a comment

Up