Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ?- zebra_solve(Sol).
- 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)
- ERROR: In:
- ERROR: [14] throw(error(type_error(dict,...),_7546))
- 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
- ERROR: [11] select4([450,525|...],[belhino,eldang|...],[100,150|...],[10,15|...],[[825|...],...|...]) at /Users/tekk/Documents/pltest/solution.pl:38
- ERROR: [10] zebra_solve([[825|...],...|...]) at /Users/tekk/Documents/pltest/solution.pl:128
- ERROR: [9] toplevel_call(user:user: ...) at /usr/local/Cellar/swi-prolog/8.4.3_1/libexec/lib/swipl/boot/toplevel.pl:1158
- ERROR:
- ERROR: Note: some frames are missing due to last-call optimization.
- ERROR: Re-run your program in debug mode (:- debug.) to get more detail.
Advertisement
Add Comment
Please, Sign In to add comment