import regex from "./regex";
import { shape, keys, mapOf, cat, fclause } from './regex';
import nullable from "./nullable";
import undefinable from "./undefinable";
import maybe from "./maybe";
import wall from "./wall";
import equals from "../preds/equals";
import any from "./any";
export function scat( str ) {
return cat.apply( null, Array.prototype.slice.call( str ).map( equals ) );
};
const other = {
any,
fclause,
wall, clause: wall,
nullable, undefinable, maybe,
scat,
};
export * from "./regex";
export {
any,
fclause,
wall, wall as clause,
nullable, undefinable, maybe,
shape, keys, mapOf,
fclause as fspec,
};
export default Object.assign( {},
regex,
{
shape, keys, mapOf,
fspec: fclause
},
other );
|