mirror of
https://github.com/justinethier/cyclone.git
synced 2025-05-23 20:15:05 +02:00
Issue #134
This commit is contained in:
parent
025a3ef1ce
commit
67e63ef49c
1 changed files with 2 additions and 2 deletions
|
@ -1006,7 +1006,7 @@ object memberp(void *data, object x, list l)
|
|||
Cyc_check_pair_or_null(data, l);
|
||||
for (; l != NULL; l = cdr(l)) {
|
||||
if (boolean_f != equalp(x, car(l)))
|
||||
return boolean_t;
|
||||
return l;
|
||||
}
|
||||
return boolean_f;
|
||||
}
|
||||
|
@ -1016,7 +1016,7 @@ object memqp(void *data, object x, list l)
|
|||
Cyc_check_pair_or_null(data, l);
|
||||
for (; l != NULL; l = cdr(l)) {
|
||||
if ((x == car(l)))
|
||||
return boolean_t;
|
||||
return l;
|
||||
}
|
||||
return boolean_f;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue