4 ms·
> SWI 7 can't guarantee to read all SWI 6 code > Code written 30 years ago which uses the dot in the old standard way might trigger SWI to try and read it in t
by bmacho 2y ago
> SWI 7 can't guarantee to read all SWI 6 code
> Code written 30 years ago which uses the dot in the old standard way might trigger SWI to try and read it in the Dict.key way and fail.
Why would they do that? SWI 7 reading SWI 6 or ISO prolog code should be rather trivial, shouldn't it?
- jodrellblank 2y agoI 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)