summaryrefslogtreecommitdiff
path: root/src/effects.rs
blob: 4c4c11026e67835ac1f75b4b09445b894626627d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// Simple types for effects

use crate::ast::*;

// bad and wrong and useless
pub struct Effection {
    expr: Expression,
    effect: Effect,
}

// yeah i'm not dealing with this yet
pub enum Effect {
    Empty,
    Total,
    Exn,
    Pure,
    IO,
}