From 9e42e3c971c2c1c69d2e03752735bbbd24007b6b Mon Sep 17 00:00:00 2001 From: Kaz Kylheku Date: Thu, 4 Apr 2024 19:48:34 -0700 Subject: New functions for filtering through external processes. * stdlib/getput.tl (sys:maproc-common): new function. (map-command-lines, map-command-str, map-command-buf, map-process-lines, map-process-str, map-process-buf): New functions. * autoload.c (getput_set_entries): Trigger autoload of getput module on new function symbols. * tests/018/getput.tl: New tests. * txr.1: Documented. --- autoload.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'autoload.c') diff --git a/autoload.c b/autoload.c index 512369f2..f9e50a2c 100644 --- a/autoload.c +++ b/autoload.c @@ -477,6 +477,8 @@ static val getput_set_entries(val fun) lit("command-get-buf"), lit("command-put-buf"), lit("command-get-json"), lit("command-put-json"), lit("command-get-jsons"), lit("command-put-jsons"), + lit("map-command-lines"), lit("map-process-lines"), lit("map-command-str"), + lit("map-process-str"), lit("map-command-buf"), lit("map-process-buf"), lit("close-lazy-streams"), nil }; -- cgit v1.2.3