unclear if Handler's expected to be
my_handler(Terms, DCGIn, DCGOut)
-->
which appears to be what the letter of the docs says
or
my_handler(Terms)
-->
which makes more sense.
Did you know ... | Search Documentation: |
Predicate html_receive/4 |
:- use_module(library(http/html_write)).
//
phrase(Handler, PostedTerms, HtmlTerms, Rest)
Typically, Handler collects the posted terms, creating a term suitable for html//1 and finally calls html//1.
unclear if Handler's expected to be
my_handler(Terms, DCGIn, DCGOut)
-->
which appears to be what the letter of the docs says
or
my_handler(Terms)
-->
which makes more sense.