--- sml/trunk/src/cm/smlfile/skel-cvt.sml 1999/05/17 14:53:49 278 +++ sml/trunk/src/cm/smlfile/skel-cvt.sml 1999/05/18 08:10:36 279 @@ -163,7 +163,7 @@ VarFctExp (symbolModPath path, fsigexpConst constraint) | BaseFct { params, body, constraint } => BaseFctExp { - params = map functorParams params, + params = SeqDecl (map functorParams params), body = c_strexp body, constraint = sigexpConst constraint } @@ -179,8 +179,8 @@ val c = c_sigexp constraint in case symOpt of - NONE => (NONE,c) - | SOME sym => (SOME sym, c) + NONE => OpenDecl [c] + | SOME sym => StrDecl [{ name = sym, def = c, constraint = NONE }] end and sigexpConst sec = @@ -198,7 +198,8 @@ SS.add (x, head) | f _ = raise Fail "decl/convert/c_sigexp" in - AugStrExp (c_sigexp se, foldr f SS.empty whspecs) + LetStrExp (DeclRef (foldr f SS.empty whspecs), + c_sigexp se) end | BaseSig specList => BaseStrExp (SeqDecl (foldr c_spec [] specList)) @@ -215,7 +216,7 @@ VarFsig symbol => VarFctExp (symbolModPath [symbol], NONE) | BaseFsig { param, result } => BaseFctExp { - params = map functorParams param, + params = SeqDecl (map functorParams param), body = c_sigexp result, constraint = NONE }
Click to toggle
does not end with </html> tag
does not end with </body> tag
The output has ended thus: eqDecl (map functorParams param), body = c_sigexp result, constraint = NONE }