mirror of
https://github.com/justinethier/cyclone.git
synced 2025-07-15 16:57:35 +02:00
Cleaner code for (pair?)
This commit is contained in:
parent
dec1cdf772
commit
a81161904c
1 changed files with 1 additions and 1 deletions
|
@ -1470,7 +1470,7 @@ object Cyc_is_boolean(object o)
|
||||||
|
|
||||||
object Cyc_is_pair(object o)
|
object Cyc_is_pair(object o)
|
||||||
{
|
{
|
||||||
if ((o != NULL) && !is_value_type(o) && ((list) o)->tag == pair_tag)
|
if (is_object_type(o) && ((list) o)->tag == pair_tag)
|
||||||
return boolean_t;
|
return boolean_t;
|
||||||
return boolean_f;
|
return boolean_f;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue