oper and lindef in CanonToJS

This commit is contained in:
aarne
2007-10-31 16:41:39 +00:00
parent a2a37bc912
commit 3f4d3e69cf
3 changed files with 3 additions and 3 deletions

View File

@@ -1,6 +1,6 @@
--# -path=.:prelude
concrete MathEnz of Math = open Prelude in {
concrete MathEnz of Mathw = open Prelude in {
flags lexer = textlit ; unlexer = textlit ;

View File

@@ -1,6 +1,6 @@
--# -path=.:prelude
concrete MathSwz of Math = open Prelude in {
concrete MathSwz of Mathw = open Prelude in {
flags lexer = textlit ; unlexer = textlit ;

View File

@@ -50,7 +50,7 @@ concrete2js (C.CId a) (C.CId c, cnc) =
++ concatMap (cncdef2js l) ds
where
l = JS.Ident c
ds = Map.assocs $ D.lins cnc
ds = concatMap Map.assocs [D.lins cnc, D.opers cnc, D.lindefs cnc]
cncdef2js :: JS.Ident -> (C.CId,C.Term) -> [JS.Element]
cncdef2js l (C.CId f, t) =