Well, since I'm practising "the Prolog logic" today and I found this unanswered problem in another thread here, I was wondering how it works.
increment every element of list by its depth, example
increment([0,0,[0]],[1,1,[2]]) -> true
And I almost thought that I like this language... :))
Is something like that possible? Thanks.
No comments:
Post a Comment