I was browsing the IO manual pages in swi-prolog and couldn't find a predicate to read integers (or numbers) from a file/stream. Didn't find anything on google either :|
I know how to write one, just wondering if there is something built-in since I guess that it would be faster.