import { Term, g, n } from './core'; import { toNumber as $n, fromNumber as _n, x00 } from './byte'; n('char'); export const Null = g('Null', x00); export { inc, dec, ifz as ifn, cmp, lt, le, eq, ge, gt } from './byte'; export const fromChar: (c: string) => Term = c => _n(c.charCodeAt(0)); export const toChar: (c: Term) => string = c => String.fromCharCode($n(c));