aboutsummaryrefslogtreecommitdiff
path: root/src/compile/reductions.h
blob: 5c76c74ffa6cb3bf25b77624239c8337a41268bc (plain)
1
2
3
4
5
6
7
8
// This file defines how to compile reductions like `(+: nums)`
#pragma once

#include "../ast.h"
#include "../environment.h"
#include "../stdlib/datatypes.h"

Text_t compile_reduction(env_t *env, ast_t *ast);