mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-09 04:59:31 -06:00
oper and lindef in CanonToJS
This commit is contained in:
@@ -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 ;
|
||||
|
||||
|
||||
@@ -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 ;
|
||||
|
||||
|
||||
@@ -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) =
|
||||
|
||||
Reference in New Issue
Block a user