summaryrefslogtreecommitdiffstats
path: root/stdlib/op.tl
diff options
context:
space:
mode:
Diffstat (limited to 'stdlib/op.tl')
-rw-r--r--stdlib/op.tl6
1 files changed, 6 insertions, 0 deletions
diff --git a/stdlib/op.tl b/stdlib/op.tl
index 4b5b0311..79786f20 100644
--- a/stdlib/op.tl
+++ b/stdlib/op.tl
@@ -265,6 +265,12 @@
(defmacro loand (:env e . clauses)
^[chand ,*(sys:opip-expand e 'lop 'ldo clauses)])
+(defmacro opf (:env e fun . clauses)
+ ^[,fun ,*(sys:opip-expand e 'op 'do clauses)])
+
+(defmacro lopf (:env e fun . clauses)
+ ^[,fun ,*(sys:opip-expand e 'lop 'ldo clauses)])
+
(defmacro flow (val . opip-args)
^(call (opip ,*opip-args) ,val))