Skip to content

Commit

Permalink
start of comments -- partial only!
Browse files Browse the repository at this point in the history
  • Loading branch information
jazzbox35 committed Dec 30, 2024
1 parent 6626a9a commit 70e7d6d
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions prolog/metta_lang/metta_interp.pl
Original file line number Diff line number Diff line change
Expand Up @@ -234,15 +234,15 @@

%! metta_root_dir(-Dir) is det.
%
% Determines the root directory of the Metta project.
% Determines the root directory of the Mettalog project.
%
% This predicate attempts to determine the root directory by first using the
% `user:is_metta_src_dir/1` dynamic predicate. If that is unavailable or fails,
% it falls back to the `METTA_DIR` environment variable.
%
% @arg Dir The absolute path to the Metta root directory.
% @arg Dir The absolute path to the Mettalog root directory.
%
% @example Determine the Metta root directory:
% @example Determine the Mettalog root directory:
% ?- metta_root_dir(Dir).
% Dir = '/path/to/metta/root'.
%
Expand All @@ -259,14 +259,14 @@

%! metta_library_dir(-Dir) is det.
%
% Determines the library directory of the Metta project.
% Determines the library directory of the Mettalog project.
%
% This predicate resolves the library directory relative to the Metta root
% This predicate resolves the library directory relative to the Mettalog root
% directory using `metta_root_dir/1`.
%
% @arg Dir The absolute path to the Metta library directory.
% @arg Dir The absolute path to the Mettalog library directory.
%
% @example Determine the Metta library directory:
% @example Determine the Mettalog library directory:
% ?- metta_library_dir(Dir).
% Dir = '/path/to/metta/root/libraries/'.
%
Expand Down

0 comments on commit 70e7d6d

Please sign in to comment.