roc/compiler/module/src/low_level.rs
2020-06-20 10:57:44 -04:00

13 lines
356 B
Rust

/// Low-level operations that get translated directly into e.g. LLVM instructions.
/// These are always wrapped when exposed to end users, and can only make it
/// into an Expr when added directly by can::builtins
#[derive(Debug, Copy, Clone, PartialEq, Eq)]
pub enum LowLevel {
/// List.len
ListLen,
Eq,
NotEq,
And,
Or,
Not,
}