I am new to prolog.
I need to convert the prolog input which is a given variable in the format of coma separated values inside open and close brace (a,z,b) to a prolog list of the form [a,z,b] .
Can some one please help?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The main functor of a sequence is ,/2, of a list is ./2. Hence,
I assume that elements of the sequence should not be converted: