mirror of
https://github.com/kanaka/mal.git
synced 2024-11-11 00:52:44 +03:00
13 lines
249 B
Ada
13 lines
249 B
Ada
package body Printer is
|
|
|
|
function Pr_Str (M : Types.Mal_Handle) return String is
|
|
begin
|
|
if Types.Is_Null (M) then
|
|
return "";
|
|
else
|
|
return Types.To_String (Types.Deref (M).all);
|
|
end if;
|
|
end Pr_Str;
|
|
|
|
end Printer;
|