I am learning Prolog, using GNU Prolog on Mac OS X. I am getting the following error from interactive mode:
GNU Prolog 1.3.1
By Daniel Diaz
Copyright (C) 1999-2009 Daniel Diaz
| ?- between(0,5,X).
uncaught exception: error(existence_error(procedure,between/3),top_level/0)
| ?- halt.
But between/3
is supposed to be a built-in predicate, I thought. Why is this happening and what can I do about it? Thanks!