Class: Sollya::List
Instance Method Summary
collapse
Methods inherited from Object
#!=, #&, #==, #concat, #inspect, #print, #to_s, #to_sollya, #|, #~
Instance Method Details
#append(other) ⇒ Object
2251
2252
2253
2254
|
# File 'ext/sollya_rb.c', line 2251
static VALUE sollyarb_list_append(VALUE self, VALUE other)
{
return sollyarb_autowrap_object(sollya_lib_append(sollyarb_object_rb2ref(self), SOLLYARB_TO_SOLLYA(other)));
}
|
#end_elliptic? ⇒ Boolean
857
858
859
860
861
862
863
864
865
|
# File 'ext/sollya_rb.c', line 857
static VALUE sollyarb_list_is_end_elliptic(VALUE self)
{
sollya_obj_t l = sollyarb_object_rb2ref(self);
if (sollya_lib_obj_is_end_elliptic_list(l))
return Qtrue;
if (sollya_lib_obj_is_list(l))
return Qfalse;
return Qfalse;
}
|
#prepend(other) ⇒ Object
2257
2258
2259
2260
|
# File 'ext/sollya_rb.c', line 2257
static VALUE sollyarb_list_prepend(VALUE self, VALUE other)
{
return sollyarb_autowrap_object(sollya_lib_prepend(SOLLYARB_TO_SOLLYA(other), sollyarb_object_rb2ref(self)));
}
|