this post was submitted on 23 Feb 2024
1 points (100.0% liked)

Prolog

100 readers
1 users here now

A community for discussion of the Prolog programming language and related Logic Programming and Symbolic AI topics.

founded 1 year ago
MODERATORS
 

I just started learning Prolog (based on "Programming in Prolog") and in doing so I've been trying to write code as much as I can.

So far, my little collection of tiny predicates have seemed OK, to my mind.

However, I'm not sure if I'm confident about the most recent piece of Prolog code I've written: https://github.com/bahmanm/prolog-etudes/blob/main/basic-list-techniques/mapping_nested.prolog

Which is why I'm asking if I could please get a code review from the experts. Any hint/feedback is highly appreciated ๐Ÿ™

no comments (yet)
sorted by: hot top controversial new old
there doesn't seem to be anything here