// /** // * Copyright (c) 2018 Mol* contributors, licensed under MIT, See LICENSE file for more info. // * // * @author David Sehnal // */ // import Environment from './environment' // type RuntimeExpression = (env: Environment) => T // export interface ExpressionInfo { // isConst?: boolean // } // namespace RuntimeExpression { // export function constant(c: T): RuntimeExpression { // return env => c; // } // export function func(f: (env: Environment) => T): RuntimeExpression { // return env => f(env); // } // } // export default RuntimeExpression