|
From: | Keith OHara |
Subject: | Re: Make music functions callable from Scheme (issue 244840043 by address@hidden) |
Date: | Sun, 21 Jun 2015 08:00:15 -0700 |
User-agent: | Opera Mail/12.16 (Win32) |
On Sat, 20 Jun 2015 22:28:13 -0700, David Kastrup <address@hidden> wrote:
"Keith OHara" <address@hidden> writes:Some people don't like side-effects in loop-control conditionals while (scm_is_pair (scm_cdr (signature)) // more slots ? && scm_is_pair (scm_cadr (signature)) // next one optional ? && (signature = scm_cdr (signature)));// deal with it now.Count me among "some people" here.
Me too. A minute after I sent this I thought of a simpler way at https://codereview.appspot.com/247190043/
[Prev in Thread] | Current Thread | [Next in Thread] |