A.35.1 library(pure_input): Pure Input from files and streams
All
Application
Manual
Name
Summary
Help
Documentation
Reference manual
The SWI-Prolog library
library(pio): Pure I/O
library(pure_input): Pure Input from files and streams
phrase_from_file/2
phrase_from_file/3
phrase_from_stream/2
syntax_error//1
lazy_list_location//1
lazy_list_character_count//1
stream_to_lazy_list/2
Packages
Availability:
:- use_module(
library(pure_input)
).
(can be autoloaded)
syntax_error
(
+Error
)
//
Throw the syntax error
Error
at the current location of the input. This predicate is designed to be called from the handler of
phrase_from_file/3
.
throws
error(syntax_error(Error), Location)