Places
Home
Graphs
Prefixes
Admin
Users
Settings
Plugins
Statistics
Repository
Load local file
Load from HTTP
Load from library
Remove triples
Clear repository
RDF quality heuristics
Query
YASGUI SPARQL Editor
Simple Form
SWISH Prolog shell
Help
Documentation
Tutorial
Roadmap
HTTP Services
Login
A.12 library(dcg/basics): Various general DCG utilities
All
Application
Manual
Name
Summary
Help
Documentation
Reference manual
The SWI-Prolog library
library(dcg/basics): Various general DCG utilities
string_without//2
string//1
blanks//0
blank//0
nonblanks//1
nonblank//1
blanks_to_nl//0
whites//0
white//0
alpha_to_lower//1
digits//1
digit//1
integer//1
float//1
number//1
xinteger//1
xdigit//1
xdigits//1
eos//0
remainder//1
prolog_var_name//1
atom//1
Packages
Availability:
:- use_module(
library(dcg/basics)
).
[det]
digits
(
?Chars
)
//
[det]
digit
(
?Char
)
//
[det]
integer
(
?Integer
)
//
Number processing. The predicate
digits//1
matches a possibly empty set of digits,
digit//1
processes a single digit and integer processes an optional sign followed by a non-empty sequence of digits into an integer.
ClioPatria
(version
V3.1.1-40-g9d9e003
)