parameters to lambda


[ Follow Ups ] [ Post Followup ] [ Discussion Board ] [ FAQ ]

Posted by Martin on February 17, 2004 at 01:11:39:


The grammer says:
ProcedureExp ::= "(" "lambda" "(" ( Identifier )* ")" Expression ")"

That means there doesn't have to be any parameters to the lambda. What is the resulting type of something like the following?

(lambda () (+ y x))

is it just
t_i -> int
?

Is it t0->int




Follow Ups:



Post a Followup

Name:
E-Mail:

Subject:

Comments:

Optional Link URL:
Link Title:
Optional Image URL:


[ Follow Ups ] [ Post Followup ] [ Discussion Board ] [ FAQ ]