next up previous contents index
Next: 1.2 Attributed Variables Up: 1.1 List Processing Previous: 1.1 List Processing   Contents   Index

1.1.1 Processing Comma Lists

It is often useful to process comma lists when meta-interpreting or preprocessing. XSB libraries include the following simple utilities.

comma_to_list(+CommaList,-List)
basics
Transforms CommaList to List.

comma_append(?CL1,?CL2,?CL3)
basics

comma_length(?CommaList,?Length)
basics

comma_member(?Element,?CommaList)
basics

comma_member(?Element,?CommaList)
basics
Analogues for comma lists of append/3, length/3, member/2 and memberchk/2, respectively.



Terrance Swift 2007-10-06