Lyricdev
GitHub

struct LambdaParam

pub struct LambdaParam :: [Debug]

Conforms to Debug.

A parameter of a lambda: its name, its type if written, a pattern instead of a name (((k, v)) => ...), whether it is a place (&n), whether it is a trailing block's it.

Fields

pub name: Ident
pub type: ?Type
pub pattern: ?Pattern
pub isPlace: bool
pub isImplicit: bool