Guest User

Untitled

a guest
Nov 27th, 2022
45
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.08 KB | None | 0 0
  1. ?- zebra_solve(Sol).
  2. ERROR: Type error: `dict' expected, found `select4([450,525,600,675,750,900],[belhino,eldang,mechania,suzutake,werril,zarobit],[100,150,250,350,475,1000],[10,20,25,30,40],[[750,mechania,250,60],[_7218,eldang,350,20],[_7338,zarobit,475,20],[900,belhino,150,10],[450,werril,350,25],[525,suzutake,100,40]])' (a compound)
  3. ERROR: In:
  4. ERROR: [14] throw(error(type_error(dict,...),_7546))
  5. ERROR: [12] '.'(select4([450|...],[belhino|...],[100|...],[10|...],[...|...]),f(60),_7580) at /usr/local/Cellar/swi-prolog/8.4.3_1/libexec/lib/swipl/boot/dicts.pl:57
  6. ERROR: [11] select4([450,525|...],[belhino,eldang|...],[100,150|...],[10,15|...],[[825|...],...|...]) at /Users/tekk/Documents/pltest/solution.pl:38
  7. ERROR: [10] zebra_solve([[825|...],...|...]) at /Users/tekk/Documents/pltest/solution.pl:128
  8. ERROR: [9] toplevel_call(user:user: ...) at /usr/local/Cellar/swi-prolog/8.4.3_1/libexec/lib/swipl/boot/toplevel.pl:1158
  9. ERROR:
  10. ERROR: Note: some frames are missing due to last-call optimization.
  11. ERROR: Re-run your program in debug mode (:- debug.) to get more detail.
Advertisement
Add Comment
Please, Sign In to add comment