Files
scryer-prolog/src/prolog/lib
Markus Triska 43f7743467 ENHANCED: Better error handling if Type is invalid.
Strictly speaking, type is currently not a type, so a domain error is
appropriate if Type is not a valid type. However, there are also other
cases where new types have been introduced in the past, and this
seems a good candidate for a new type. Let us hence use a type error.

Example:

    ?- can_be(listi, [a,b|Ls]).
    %@ ERROR: Type error: `type' expected, found `listi' (an atom)
2018-09-30 23:36:32 +02:00
..
2018-09-26 19:33:27 -06:00
2018-08-04 16:12:37 -06:00
2018-09-27 22:40:23 -06:00