shrub/j/2/drop.c
2014-09-05 13:13:24 -07:00

32 lines
422 B
C

/* j/2/drop.c
**
** This file is in the public domain.
*/
#include "all.h"
/* functions
*/
u3_noun
u3_cqb_drop(u3_noun a)
{
if ( 0 == a ) {
return u3_nul;
}
else {
return u3nc(0, u3k(u3t(a)));
}
}
u3_noun
u3_cwb_drop(u3_noun cor)
{
u3_noun a;
if ( u3_none == (a = u3_cr_at(u3_cv_sam, cor)) ) {
return u3_none;
} else {
return u3_cqb_drop(a);
}
}