mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-05-13 05:02:50 -06:00
Added newlines and ends of some files. This makes sed happy.
This commit is contained in:
@@ -53,4 +53,4 @@ faCPrinter :: Options -> StateGrammar -> String
|
||||
faCPrinter opts s = fa2c $ cfgToFA opts s
|
||||
|
||||
fa2c :: DFA String -> String
|
||||
fa2c fa = undefined
|
||||
fa2c fa = undefined
|
||||
|
||||
@@ -110,4 +110,4 @@ emptyLine :: Doc
|
||||
emptyLine = text ""
|
||||
|
||||
($++$) :: Doc -> Doc -> Doc
|
||||
x $++$ y = x $$ emptyLine $$ y
|
||||
x $++$ y = x $$ emptyLine $$ y
|
||||
|
||||
@@ -127,4 +127,4 @@ isEquivalence :: Ord a => Rel a -> Bool
|
||||
isEquivalence r = isReflexive r && isSymmetric r && isTransitive r
|
||||
|
||||
isSubRelationOf :: Ord a => Rel a -> Rel a -> Bool
|
||||
isSubRelationOf r1 r2 = all (uncurry (isRelatedTo r2)) (relToList r1)
|
||||
isSubRelationOf r1 r2 = all (uncurry (isRelatedTo r2)) (relToList r1)
|
||||
|
||||
@@ -36,4 +36,4 @@ prop_reflexiveClosure_refl ps = isReflexive (reflexiveClosure (mkRel ps))
|
||||
|
||||
prop_mkEquiv_equiv :: [(Int,Int)] -> Bool
|
||||
prop_mkEquiv_equiv ps = isEquivalence (mkEquiv ps)
|
||||
where mkEquiv = transitiveClosure . symmetricClosure . reflexiveClosure . mkRel
|
||||
where mkEquiv = transitiveClosure . symmetricClosure . reflexiveClosure . mkRel
|
||||
|
||||
@@ -232,4 +232,4 @@ lookupFM_ fm k = Map.findWithDefault err k fm
|
||||
++ "\namong " ++ show (Map.keys fm)
|
||||
|
||||
prtS :: Print a => a -> ShowS
|
||||
prtS = showString . prt
|
||||
prtS = showString . prt
|
||||
|
||||
Reference in New Issue
Block a user