logtalk_library_path(Library, Path)
Dynamic, user-defined predicate, allowing the declaration of aliases to library paths. Library aliases may also be used on the second argument (using the notation alias(path)). Paths must always end with the path directory separator character ("/").
logtalk_library_path(?atom, -atom) logtalk_library_path(?atom, -compound)
| ?- logtalk_library_path(viewpoints, Path). Path = examples('viewpoints/') yes | ?- logtalk_library_path(Library, Path). Library = lgtuser Path = '$LOGTALKUSER/' ; Library = library Path = lgtuser('library/') ; Library = examples Path = lgtuser('examples/') ; Library = viewpoints Path = examples('viewpoints/') yes