File tree 1 file changed +2
-1
lines changed
1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -1186,6 +1186,7 @@ instance Show EgisonExpr where
1186
1186
show (ApplyExpr fn (TupleExpr [] )) = " (" ++ show fn ++ " )"
1187
1187
show (ApplyExpr fn (TupleExpr args)) = " (" ++ show fn ++ " " ++ unwords (map show args) ++ " )"
1188
1188
show (ApplyExpr fn arg) = " (" ++ show fn ++ " " ++ show arg ++ " )"
1189
+ show _ = " (not supported)"
1189
1190
1190
1191
instance Show EgisonValue where
1191
1192
show (Char c) = " c#" ++ [c]
@@ -1582,7 +1583,7 @@ extendEnv :: Env -> [Binding] -> Env
1582
1583
extendEnv (Env env idx) bdg = Env ((: env) $ HashMap. fromList bdg) idx
1583
1584
1584
1585
refVar :: Env -> Var -> Maybe ObjectRef
1585
- refVar (Env env idx ) var = msum $ map (HashMap. lookup var) env
1586
+ refVar (Env env _ ) var = msum $ map (HashMap. lookup var) env
1586
1587
1587
1588
--
1588
1589
-- Pattern Match
You can’t perform that action at this time.
0 commit comments