From 606fd2dc1ea8610ec6fe2b20e607468b9f318579 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dominik=20Pant=C5=AF=C4=8Dek?= Date: Mon, 20 Mar 2023 20:34:55 +0100 Subject: [PATCH] Document utils. --- README.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/README.md b/README.md index d568f96..cb0a093 100644 --- a/README.md +++ b/README.md @@ -93,3 +93,16 @@ Support Modules ### Testing ### Utils + +To ensure there are no external dependencies (including chicken eggs), +this module re-implements any basic procedures which are required for +any algorithms used. + +#### Filter + + (filter pred? lst) + +* ```pred?``` - procedure accepting any value and returning #t or #f +* ```lst``` - list to be filtered + +Returns a list containing only elements matching given ```pred?``` predicate.