mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-26 21:39:07 +00:00
8 lines
284 B
Rust
8 lines
284 B
Rust
/// How function kinds should be represented in the type system.
|
|
#[derive(Debug, Clone, Copy)]
|
|
pub enum FunctionKind {
|
|
/// Function values are solved to lambda sets; lambda sets are the kind.
|
|
LambdaSet,
|
|
/// Function values are erased, no kind is introduced.
|
|
Erased,
|
|
}
|