guile-user
[
Top
][
All Lists
]
Advanced
[
Date Prev
][
Date Next
][
Thread Prev
][
Thread Next
][
Date Index
][
Thread Index
]
Why is an empty lambda body not allowed?
From
:
Tobias Brandt
Subject
:
Why is an empty lambda body not allowed?
Date
:
Fri, 4 Jul 2014 20:20:31 +0200
Hi,
it seems to be illegal to write
(lambda ())
I would have expected this to evaluate to a procedure returning unspecified.
On the other hand, the following are all valid
(begin)
(define x (begin))
(lambda () x)
but
(lambda () (begin))
is not.
Why is that?
Cheers,
Tobias
reply via email to
[Prev in Thread]
Current Thread
[
Next in Thread
]
Why is an empty lambda body not allowed?
,
Tobias Brandt
<=
Re: Why is an empty lambda body not allowed?
,
Taylan Ulrich Bayirli/Kammer
,
2014/07/04
Re: Why is an empty lambda body not allowed?
,
Tobias Brandt
,
2014/07/04
Re: Why is an empty lambda body not allowed?
,
Taylan Ulrich Bayirli/Kammer
,
2014/07/04
Prev by Date:
Re: Compiling for Android
Next by Date:
Re: Why is an empty lambda body not allowed?
Previous by thread:
Re: Compiling for Android
Next by thread:
Re: Why is an empty lambda body not allowed?
Index(es):
Date
Thread