Sujet : Splitting up the Prologue to Prolog
De : janburse (at) *nospam* fastmail.fm (Mild Shock)
Groupes : comp.lang.prologDate : 19. May 2025, 09:54:05
Autres entêtes
Message-ID : <100erje$1dbl$1@solani.org>
References : 1 2 3 4 5 6 7 8 9
User-Agent : Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:128.0) Gecko/20100101 Firefox/128.0 SeaMonkey/2.53.20
How about splitting up the Prologue to prolog into
multiple modules? To the best of my knowledge websites
allow multiple documents and Prolog systems allow multiple
Prolog texts, so why make a one fits all page like here:
https://www.complang.tuwien.ac.at/ulrich/iso-prolog/prologueIts by way not anymore a Prologue, which somehow implies
that the predicates are automatically loaded. What would
make more sense to start morking on commons modules, like:
maplist/n ~~> library(lists)
call_nth/2 ~~> library(sequence)
crypto_data_hash/3 ~~> library(crypto)
Etc..
Revise this "The Prolog prologue is a possibly empty file to
be included (7.4.2.7)." This is nonsense, if you add things
that are just commons modules.