Ang Soon
2010-06-29 10:45:05 UTC
Hello,
I'm implementing a non-strict toy language supporting partial function
application, but I've come to realize I'm confused over what non-
strictness means.
Consider, for example, the K-combinator:
K x y => x
Suppose K is _partially_ applied on bottom; does it evaluate to bottom
right away, or does it evaluate to a unary combinator that will
evaluate to bottom if evaluated? I.e.,
K undefined => ?
Thanks,
Ang
I'm implementing a non-strict toy language supporting partial function
application, but I've come to realize I'm confused over what non-
strictness means.
Consider, for example, the K-combinator:
K x y => x
Suppose K is _partially_ applied on bottom; does it evaluate to bottom
right away, or does it evaluate to a unary combinator that will
evaluate to bottom if evaluated? I.e.,
K undefined => ?
Thanks,
Ang