tricu

A lazy functional language based on Tree Calculus
Log | Files | Refs | README | LICENSE

runtime-session.js (251B)


      1 import { HaskellSession } from './haskell-session.js';
      2 export async function createRuntimeSession(name, compiler) {
      3     if (name !== 'haskell-wasm')
      4         throw new Error('Unsupported runtime backend');
      5     return HaskellSession.create(compiler);
      6 }