AppliedLogicSystems / ALSProlog

ALS Prolog Compiler & Development Environment
https://alsprolog.com
MIT License
16 stars 9 forks source link

Library preds should throw error when library not found #193

Open chuckhoupt opened 4 years ago

chuckhoupt commented 4 years ago

When alsdir is not present (for example, when using a saved image), library predicates fail instead of throw an error. Example from dev dir using library append/2:

$ rm -rf alsdir
$ ./alspro
...
?- append([[a],[b]], X).
no.