Address issues with unify's case tree in idris
Clean up some stuff in prelude Add parser for where
This commit is contained in:
@@ -155,7 +155,7 @@ termToJS env (CCase t alts) f =
|
||||
(JCase (Dot (Var nm) "tag") (map (termToJSAlt env nm) alts))
|
||||
|
||||
|
||||
-- REVIEW the escaping in show might not match JS
|
||||
-- FIXME escaping is wrong, e.g. \215 instead of \xd7
|
||||
jsString : String -> Doc
|
||||
jsString str = text (show str)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user