Skip to content
This repository has been archived by the owner on Jan 9, 2019. It is now read-only.

cond without an else clause produces no values #95

Closed
weinholt opened this issue Feb 15, 2017 · 1 comment
Closed

cond without an else clause produces no values #95

weinholt opened this issue Feb 15, 2017 · 1 comment

Comments

@weinholt
Copy link

I am using Vicare Scheme 0.4d1.1 on Debian GNU/Linux 8.7 amd64.

The cond syntax is not behaving properly when there is no else clause. The following expressions should all return 1:

Vicare Scheme version 0.4d1.1, 64-bit
Build 2017-02-15

Copyright (c) 2006-2010 Abdulaziz Ghuloum and contributors
Copyright (c) 2011-2016 Marco Maggi and contributors

vicare> (cond (#t 1))
vicare> (cond (1))
vicare> (cond (else 1))
$1 = 1
@marcomaggi
Copy link
Owner

This is on purpose. It is explained in the devlog. I have not yet properly documented these changes. Sorry.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants