]> Repositorios git - scryer-prolog.git/commit
ADDED: path_segments/2 for portable reasoning about path components.
authorMarkus Triska <[email protected]>
Sun, 19 Jul 2020 09:07:03 +0000 (11:07 +0200)
committerMarkus Triska <[email protected]>
Sun, 19 Jul 2020 10:32:01 +0000 (12:32 +0200)
commit2768beec4c49660a0636b93e585790efd62dbe6a
treea8f7637f021cd44fc5483a7715d399aebcba6147
parentbd0aa163226ed8d39f1f4c23a567838f536d41e4
ADDED: path_segments/2 for portable reasoning about path components.

The platform-specific directory separator is taken into account.
The clean representation of segments as a list simplifies reasoning.
src/clause_types.rs
src/lib/files.pl
src/machine/system_calls.rs