App constructor

App(
  1. FuncDecl decl,
  2. List<Expr> args
)

Implementation

factory App(FuncDecl decl, List<Expr> args) {
  if (args.isEmpty) {
    return ConstVar.func(decl);
  }
  return App._(decl, args);
}