@@ -202,12 +202,12 @@ makeRecord kvs = record `liftM` collect kvs
202202instance ToJS Expr where
203203 toJS expr =
204204 case expr of
205− IntNum n -> return $ show n
206− FloatNum n -> return $ show n
207205 Var x -> return $ x
208206 Chr c -> return $ quoted [c]
209207 Str s -> return $ "_str" ++ parens (quoted s)
210− Boolean b -> return $ if b then "true" else "false"
208+ IntNum n -> return $ show n
209+ FloatNum n -> return $ show n
210+ Boolean b -> return $ if b then "true" else "false"
211211 Range lo hi -> jsRange `liftM` toJS' lo `ap` toJS' hi
212212 Access e x -> access x `liftM` toJS' e
213213 Remove e x -> remove x `liftM` toJS' e