Skip to content

add lazy parameters #240

@scabug

Description

@scabug

For now, we only have call-by-name parameters. We should allow the lazy modifier on parameters, for instance:

def f[a](lazy t: a) = {
 ..
}

The meaning should be equivalent to:

def f[a](t': => a) = {
  lazy val t: a = t'
  ..
}

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions