mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-12 14:29:31 -06:00
Fixer a nbug in >>RenameS: ----------------------------------------------------------------------
This commit is contained in:
@@ -50,8 +50,8 @@ renameIdentTerm :: Status -> Term -> Err Term
|
||||
renameIdentTerm env@(act,imps) t =
|
||||
errIn ("atomic term" +++ prt t +++ "given" +++ unwords (map (prt . fst) qualifs)) $
|
||||
case t of
|
||||
Vr (IC "Int") -> return $ Q cPredefAbs cInt -- Int and String are predefined cats
|
||||
Vr (IC "String") -> return $ Q cPredefAbs cString
|
||||
--- Vr (IC "Int") -> return $ Q cPredefAbs cInt -- Int and String are predefined cats
|
||||
--- Vr (IC "String") -> return $ Q cPredefAbs cString
|
||||
Vr c -> do
|
||||
f <- lookupTreeMany prt opens c
|
||||
return $ f c
|
||||
|
||||
@@ -1 +1 @@
|
||||
module Today where today = "Wed Nov 19 17:07:15 CET 2003"
|
||||
module Today where today = "Tue Nov 25 08:16:52 CET 2003"
|
||||
|
||||
@@ -194,7 +194,7 @@ doc2latex (Doc title paras) = unlines $
|
||||
para2latex :: Paragraph -> String
|
||||
para2latex p = case p of
|
||||
Text its -> concat (map item2latex its)
|
||||
Item its -> "$\\bullet$" ++ concat (map item2latex its)
|
||||
Item its -> "\n\n$\\bullet$" ++ concat (map item2latex its) ++ "\n\n"
|
||||
Code s -> unlines $ envLatex "verbatim" $ map (indent 2) $
|
||||
remEmptyLines $ lines $ s
|
||||
New -> "\n"
|
||||
|
||||
Reference in New Issue
Block a user