this repo has no description

Call pretty function in web REPL (#192)

authored by bernsteinbear.com and committed by

GitHub 6b9fb033 efefb7ff

+1 -1
+1 -1
repl.html
··· 68 68 async function sendRequest(exp) { 69 69 const scrap = document.scrapscript; 70 70 const [result, monad] = document.monad.bind(scrap.parse(scrap.tokenize(exp))); 71 - return {result, monad, ok: true}; 71 + return {result: scrap.pretty(result), monad, ok: true}; 72 72 } 73 73 74 74 let input = document.getElementById("input");