aboutsummaryrefslogtreecommitdiff
path: root/sucl/basic.dcl
diff options
context:
space:
mode:
Diffstat (limited to 'sucl/basic.dcl')
-rw-r--r--sucl/basic.dcl3
1 files changed, 3 insertions, 0 deletions
diff --git a/sucl/basic.dcl b/sucl/basic.dcl
index 3972d39..188d8d0 100644
--- a/sucl/basic.dcl
+++ b/sucl/basic.dcl
@@ -218,3 +218,6 @@ zipwith :: (.a .b->.c) ![.a] [.b] -> [.c]
// Write a list of things, each one terminated by a newline
(writeList) infixl :: !*File [a] -> .File | <<< a
+
+// Prettyprint a list to a file with indent
+printlist :: (elem->String) String [elem] *File -> .File