mini-oblist.red 376 B

123456789101112131415161718192021222324
  1. % MINI-OBLIST.RED
  2. on syslisp;
  3. % ---- Small MAPOBL and printers
  4. Procedure MapObl(Fn);
  5. For i:=0:NextSymbol-1 do IdApply1(MkItem(ID,I),Fn);
  6. Procedure PrintFexprs;
  7. MapObl 'Print1Fexpr;
  8. Procedure Print1Fexpr(x);
  9. If FexprP x then Print x;
  10. Procedure PrintFunctions;
  11. MapObl 'Print1Function;
  12. Procedure Print1Function(x);
  13. If Not FUnboundP x then Print x;
  14. off syslisp;
  15. End;