Whiley / WhileyDocs

Various documents relating to the Whiley Programming Language.
7 stars 2 forks source link

LambdaConstants #35

Open DavePearce opened 7 years ago

DavePearce commented 7 years ago

There is currently no syntax for lambda constants. For example, expressions like this:

type fun is function(int)->int

function f(int x) -> (int y):
    return x+1

function create() -> fun:
    return &f