summaryrefslogtreecommitdiffstats
path: root/compile.h
diff options
context:
space:
mode:
authorStephen Dolan <mu@netsoc.tcd.ie>2013-05-16 15:07:53 +0100
committerStephen Dolan <mu@netsoc.tcd.ie>2013-05-16 15:07:53 +0100
commitbc42812715fb56e72717bf18809dd9ba59771b3a (patch)
treec7d3ac872afa5623cf9eae54c55c367b77e94aea /compile.h
parent8fbee891b305180bdce956fde177604782c3cdc0 (diff)
Remove the insane "fold" operation, replace with saner "reduce".
Diffstat (limited to 'compile.h')
-rw-r--r--compile.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/compile.h b/compile.h
index f3f70b44..152384a7 100644
--- a/compile.h
+++ b/compile.h
@@ -34,7 +34,7 @@ block gen_call(const char* name, block body);
block gen_subexp(block a);
block gen_both(block a, block b);
block gen_collect(block expr);
-block gen_fold(const char* varname, block init, block body);
+block gen_reduce(const char* varname, block source, block init, block body);
block gen_definedor(block a, block b);
block gen_condbranch(block iftrue, block iffalse);
block gen_and(block a, block b);