simple-squiggle

A restricted subset of Squiggle
Log | Files | Refs | README

noop.js (660B)


      1 "use strict";
      2 
      3 Object.defineProperty(exports, "__esModule", {
      4   value: true
      5 });
      6 exports.noBignumber = noBignumber;
      7 exports.noFraction = noFraction;
      8 exports.noIndex = noIndex;
      9 exports.noMatrix = noMatrix;
     10 exports.noSubset = noSubset;
     11 
     12 function noBignumber() {
     13   throw new Error('No "bignumber" implementation available');
     14 }
     15 
     16 function noFraction() {
     17   throw new Error('No "fraction" implementation available');
     18 }
     19 
     20 function noMatrix() {
     21   throw new Error('No "matrix" implementation available');
     22 }
     23 
     24 function noIndex() {
     25   throw new Error('No "index" implementation available');
     26 }
     27 
     28 function noSubset() {
     29   throw new Error('No "matrix" implementation available');
     30 }