]> Repositorios git - scryer-prolog.git/commit
put_char/[1,2]: throw type errors for atoms that are not characters
authorMarkus Triska <[email protected]>
Wed, 17 Jun 2020 22:09:33 +0000 (00:09 +0200)
committerMarkus Triska <[email protected]>
Wed, 17 Jun 2020 22:15:00 +0000 (00:15 +0200)
commit5eda2dfe0e8b3aa4cec5159ef8b2df1e56d97375
tree2565955a625a3fd3bd376c75ac3eb6a3d40ed62d
parent1509c6a471fe887980794115b86faf2634aa26b8
put_char/[1,2]: throw type errors for atoms that are not characters

Example:

    ?- put_char(hello).
    %@ caught: error(type_error(character,hello),put_char/2)
src/machine/system_calls.rs