/*
 * loquat-prim
 * copyright (c) 2016 Susisu
 */

"use strict";

module.exports = (core, sugar) => {
    return Object.freeze({});
};

@@ -104,30 +104,1910 @@
     
-return Object.freeze(%7B
+let _prim = require(%22./lib/prim%22)(core);%0A    const map          = _prim.map;%0A    const pure         = _prim.pure;%0A    const ap           = _prim.ap;%0A    const left         = _prim.left;%0A    const right        = _prim.right;%0A    const bind         = _prim.bind;%0A    const then         = _prim.then;%0A    const fail         = _prim.fail;%0A    const mzero        = _prim.mzero;%0A    const mplus        = _prim.mplus;%0A    const label        = _prim.label;%0A    const labels       = _prim.labels;%0A    const unexpected   = _prim.unexpected;%0A    const tryParse     = _prim.tryParse;%0A    const lookAhead    = _prim.lookAhead;%0A    const reduceMany   = _prim.reduceMany;%0A    const many         = _prim.many;%0A    const skipMany     = _prim.skipMany;%0A    const tokens       = _prim.tokens;%0A    const token        = _prim.token;%0A    const tokenPrim    = _prim.tokenPrim;%0A    const getState     = _prim.getState;%0A    const setState     = _prim.setState;%0A    const updateState  = _prim.updateState;%0A    const getConfig    = _prim.getConfig;%0A    const setConfig    = _prim.setConfig;%0A    const getInput     = _prim.getInput;%0A    const setInput     = _prim.setInput;%0A    const getPosition  = _prim.getPosition;%0A    const setPosition  = _prim.setPosition;%0A    const getUserState = _prim.getUserState;%0A    const setUserState = _prim.setUserState;%0A%0A    return Object.freeze(%7B%0A        map,%0A        pure,%0A        ap,%0A        left,%0A        right,%0A        bind,%0A        then,%0A        fail,%0A        mzero,%0A        mplus,%0A        label,%0A        labels,%0A        unexpected,%0A        tryParse,%0A        lookAhead,%0A        reduceMany,%0A        many,%0A        skipMany,%0A        tokens,%0A        token,%0A        tokenPrim,%0A        getState,%0A        setState,%0A        updateState,%0A        getConfig,%0A        setConfig,%0A        getInput,%0A        setInput,%0A        getPosition,%0A        setPosition,%0A        getUserState,%0A        setUserState%0A    
 %7D);%0A

Add index