mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-22 11:19:32 -06:00
Added newlines and ends of some files. This makes sed happy.
This commit is contained in:
@@ -89,4 +89,4 @@ ex = putStrLn fs where
|
|||||||
lin fu1 man_N sleep_V = PredVP (DefSg man_N) (UseV sleep_V) ;
|
lin fu1 man_N sleep_V = PredVP (DefSg man_N) (UseV sleep_V) ;
|
||||||
fun fu2 : N -> V -> Cl ;
|
fun fu2 : N -> V -> Cl ;
|
||||||
lin fu2 man_N sleep_V = PredVP (DefPl man_N) (UseV sleep_V) ;
|
lin fu2 man_N sleep_V = PredVP (DefPl man_N) (UseV sleep_V) ;
|
||||||
-}
|
-}
|
||||||
|
|||||||
@@ -34,4 +34,4 @@ newtype WrappedMonad_ m = WrapMonad_ { unwrapMonad_ :: m () }
|
|||||||
|
|
||||||
instance Monad m => Monoid (WrappedMonad_ m) where
|
instance Monad m => Monoid (WrappedMonad_ m) where
|
||||||
mempty = WrapMonad_ (return ())
|
mempty = WrapMonad_ (return ())
|
||||||
WrapMonad_ x `mappend` WrapMonad_ y = WrapMonad_ (x >> y)
|
WrapMonad_ x `mappend` WrapMonad_ y = WrapMonad_ (x >> y)
|
||||||
|
|||||||
@@ -720,4 +720,4 @@ txtHelpFile =
|
|||||||
"\n 'pg -utf8'." ++
|
"\n 'pg -utf8'." ++
|
||||||
"\n" ++
|
"\n" ++
|
||||||
"\n-- *: Commands and options marked with * are not currently implemented." ++
|
"\n-- *: Commands and options marked with * are not currently implemented." ++
|
||||||
[]
|
[]
|
||||||
|
|||||||
@@ -53,4 +53,4 @@ faCPrinter :: Options -> StateGrammar -> String
|
|||||||
faCPrinter opts s = fa2c $ cfgToFA opts s
|
faCPrinter opts s = fa2c $ cfgToFA opts s
|
||||||
|
|
||||||
fa2c :: DFA String -> String
|
fa2c :: DFA String -> String
|
||||||
fa2c fa = undefined
|
fa2c fa = undefined
|
||||||
|
|||||||
@@ -110,4 +110,4 @@ emptyLine :: Doc
|
|||||||
emptyLine = text ""
|
emptyLine = text ""
|
||||||
|
|
||||||
($++$) :: Doc -> Doc -> Doc
|
($++$) :: 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
|
isEquivalence r = isReflexive r && isSymmetric r && isTransitive r
|
||||||
|
|
||||||
isSubRelationOf :: Ord a => Rel a -> Rel a -> Bool
|
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 :: [(Int,Int)] -> Bool
|
||||||
prop_mkEquiv_equiv ps = isEquivalence (mkEquiv ps)
|
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)
|
++ "\namong " ++ show (Map.keys fm)
|
||||||
|
|
||||||
prtS :: Print a => a -> ShowS
|
prtS :: Print a => a -> ShowS
|
||||||
prtS = showString . prt
|
prtS = showString . prt
|
||||||
|
|||||||
@@ -134,4 +134,4 @@ getEnv_ e err =
|
|||||||
env <- getEnvironment
|
env <- getEnvironment
|
||||||
case lookup e env of
|
case lookup e env of
|
||||||
Just v -> return v
|
Just v -> return v
|
||||||
Nothing -> fail err
|
Nothing -> fail err
|
||||||
|
|||||||
@@ -26,4 +26,4 @@ runInterruptibly a =
|
|||||||
h e = return $ Left e
|
h e = return $ Left e
|
||||||
|
|
||||||
blockInterrupt :: IO a -> IO a
|
blockInterrupt :: IO a -> IO a
|
||||||
blockInterrupt = id
|
blockInterrupt = id
|
||||||
|
|||||||
Reference in New Issue
Block a user