Logo 
Search:

Artificial Intelligence Articles

Submit Article
Home » Articles » Artificial Intelligence » ProLogRSS Feeds

Prolog Multi-List Program

Posted By: Milind Mishra     Category: Artificial Intelligence     Views: 2153

Prolog Multi-List Program

Code for Prolog Multi-List Program in Artificial Intelligence

domains
    numlist = integer*
    multilist = numlist*
predicates
    start
    go(multilist)
clauses
    start:-
        go(List),
        write(List).
        
    go(List):-
        X=[1,2,3],
        Y=[4,5,6],
        List=[X,Y].
  
Share: 


Didn't find what you were looking for? Find more on Prolog Multi-List Program Or get search suggestion and latest updates.

Milind Mishra
Milind Mishra author of Prolog Multi-List Program is from India.
 
View All Articles

 
Please enter your Comment

  • Comment should be atleast 30 Characters.
  • Please put code inside [Code] your code [/Code].

 
No Comment Found, Be the First to post comment!