quek / paiprolog

forked Christophe Rhodes's PAIProlog that an update of Peter Norvig's "Prolog in Common Lisp".
Other
18 stars 6 forks source link

Buggy use of (intern (read-char stream)) #5

Closed quicklisp closed 10 years ago

quicklisp commented 10 years ago

In prologcp.lisp, there are a couple uses of the pattern (intern (read-char stream)). INTERN works only on strings, and SBCL's updated type inference flags these with a warning, so the project no longer builds.

I think it would suffice to change the code to (intern (string (read-char stream))).

quek commented 10 years ago

Thyank you!