News for hackers. Stuff that matters.
Re:The Simplicity of Prolog by jodrellblank on Monday January 27, 2025 @10:47PM (#42848635)
I don't know if they could do a try/fallback or if one is available as a setting (I haven't looked), but apparently they don't by default; Scryer Prolog:

    ?- X = '.'(1,'.'(2,'.'(3,[]))).
    X = [1,2,3].
SWI Prolog 9:

    ?- X = '.'(1,'.'(2,'.'(3,[]))).
    ERROR: Type error: `dict' expected, found `3' (an integer)

There are no comments on this comment yet.