1
1
mirror of https://github.com/kanaka/mal.git synced 2024-11-11 00:52:44 +03:00
mal/ada/printer.adb
2015-04-03 14:35:24 +01:00

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;