add meta_predicate/1 declaration for phrase_to_file/3
Our goal is to encourage the use of definite clause grammars (DCGs)
for describing strings. The predicates phrase_from_file/[2,3],
- phrase_to_file/2 and phrase_to_stream/2 let us apply DCGs transparently
- to files and streams, and therefore decouple side-effects from
- declarative descriptions.
+ phrase_to_file/[2,3] and phrase_to_stream/2 let us apply DCGs
+ transparently to files and streams, and therefore decouple side-effects
+ from declarative descriptions.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
:- module(pio, [phrase_from_file/2,
:- meta_predicate(phrase_from_file(2, ?)).
:- meta_predicate(phrase_from_file(2, ?, ?)).
:- meta_predicate(phrase_to_file(2, ?)).
+:- meta_predicate(phrase_to_file(2, ?, ?)).
:- meta_predicate(phrase_to_stream(2, ?)).
/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
