Maybe it's in the line
my_append(Sorted_List,Min,Sorted_List).
because you are forcing the first and third arguments to unify while they don't, because one is the other plus the appended item. just change the third argument variable name.
Please support my only question in return posted under...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.