From 7227602546e6eaa298a14289e88c3d948b3ef457 Mon Sep 17 00:00:00 2001 From: Tan Kian-ting Date: Tue, 26 Sep 2023 00:16:18 +0800 Subject: [PATCH] remove unnessary `console.log` --- src/index.ts | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/index.ts b/src/index.ts index 3b2b3d1..988e266 100644 --- a/src/index.ts +++ b/src/index.ts @@ -242,7 +242,7 @@ let midfix = (f : Function, signal? : string) => (x : TokenMatcheePair)=>{ let new_ast = [ast_tail]; a.value.ast = new_ast; - console.log("+"+signal+"+"+repr(a)); + // console.log("+"+signal+"+"+repr(a)); } @@ -282,7 +282,6 @@ let fac1Appliee = circumfix((x : TokenMatcheePair) => thenDo(thenDo(thenDo(tk.t let fac1 = (x : TokenMatcheePair) => { let raw = thenDo(thenDo(toSome(x), single), OnceOrMoreDo(fac1Appliee)); - console.log("+"+"火鳥"+"+"+repr(raw)); @@ -295,8 +294,6 @@ let fac1 = (x : TokenMatcheePair) => result = [applyToken, result, raw.value.ast[i]]; } - console.log("+"+"hitori"+"+"+repr(result)); - if (!Array.isArray(result)){ raw.value.ast = [result]; }else{ -- 2.39.2