Skip to content

Instantly share code, notes, and snippets.

@andrei512
andrei512 / first_prolog.pro
Created December 6, 2012 13:18 — forked from bogdancj/first_prolog.pro
andrei512 first prolog code
domains
element = integer
list = element*
predicates
sort(list, list)
join(list, list, list)
split(list, element, list, list, list, list)
inverse(list, list, list)