Skip to content
Snippets Groups Projects
Commit 2ba74d7f authored by Lukas Stadler's avatar Lukas Stadler
Browse files

implement CallRFFIHelper.CADR

parent 3426212c
Branches
No related tags found
No related merge requests found
......@@ -481,8 +481,10 @@ public class CallRFFIHelper {
return cdr;
}
static Object CADR(@SuppressWarnings("unused") Object x) {
throw unimplemented();
static Object CADR(Object e) {
guaranteeInstanceOf(e, RPairList.class);
Object cadr = ((RPairList) e).cadr();
return cadr;
}
static Object SETCAR(Object x, Object y) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment