Did you know ... Search Documentation:
Pack nan_numerics_prime -- prolog/nan_numerics_prime_pio.pl
PublicShow source

Module prime_pio provides low-level predicates to read/write from/to a file or stream all consecutive prime numbers starting from 2 and up to a certain limit that is determined by the caller.

The accepted file format is a comma-separated list of the consecutive prime numbers starting from 2 and terminated by a period.

NOTE: Predicates in this module are not meant for public use.

author
- Julio P. Di Egidio
version
- 1.2.5-beta
license
- GNU GPLv3
 open_(+File:file, +Mode:oneof(read,write), :Goal:callable) is det
 read_(+Stream:stream, :GAdd:callable) is det
 write_(+Stream:stream, :GGen:callable) is det