"use strict";Object.defineProperty(exports, "__esModule", {value: true});

var _chunkOTKMOSH2js = require('./chunk-OTKMOSH2.js');


var _chunk6C3VEZWHjs = require('./chunk-6C3VEZWH.js');

// src/Show.ts
var Show_exports = {};
_chunk6C3VEZWHjs.__export.call(void 0, Show_exports, {
  getStructShow: () => getStructShow,
  getTupleShow: () => getTupleShow,
  showBoolean: () => showBoolean,
  showNumber: () => showNumber,
  showString: () => showString,
  struct: () => struct,
  tuple: () => tuple
});
var struct = (shows) => ({
  show: (a) => {
    let s = "{";
    for (const k in shows) {
      if (_chunkOTKMOSH2js.has.call(shows, k)) {
        s += ` ${k}: ${shows[k].show(a[k])},`;
      }
    }
    if (s.length > 1) {
      s = s.slice(0, -1) + " ";
    }
    s += "}";
    return s;
  }
});
var tuple = (...shows) => ({
  show: (t) => `[${t.map((a, i) => shows[i].show(a)).join(", ")}]`
});
var getTupleShow = tuple;
var getStructShow = struct;
var showBoolean = {
  show: (a) => JSON.stringify(a)
};
var showString = {
  show: (a) => JSON.stringify(a)
};
var showNumber = {
  show: (a) => JSON.stringify(a)
};










exports.struct = struct; exports.tuple = tuple; exports.getTupleShow = getTupleShow; exports.getStructShow = getStructShow; exports.showBoolean = showBoolean; exports.showString = showString; exports.showNumber = showNumber; exports.Show_exports = Show_exports;
