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, }