lambdust 0.1.1

A Scheme dialect with gradual typing and effect systems
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use super::AritySpec;

/// Type signature for FFI functions.
#[derive(Debug, Clone)]
pub struct FfiSignature {
    /// Function name
    pub name: String,
    /// Expected argument count
    pub arity: AritySpec,
    /// Parameter type descriptions (for error reporting)
    pub parameter_types: Vec<String>,
    /// Return type description
    pub return_type: String,
    /// Optional documentation
    pub documentation: Option<String>,
}