madlang 3.1.0.5 → 3.1.0.6
raw patch · 2 files changed
+3/−4 lines, 2 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- madlang.cabal +1/−1
- src/Text/Madlibs/Ana/ParseUtils.hs +2/−3
madlang.cabal view
@@ -1,5 +1,5 @@ name: madlang-version: 3.1.0.5+version: 3.1.0.6 synopsis: Randomized templating language DSL description: Madlang is a text templating language written in Haskell, meant to explore computational creativity and generative
src/Text/Madlibs/Ana/ParseUtils.hs view
@@ -26,7 +26,6 @@ import Text.Madlibs.Cata.SemErr import Text.Madlibs.Internal.Types import Text.Madlibs.Internal.Utils-import Debug.Trace -- | A map with all the modifiers for Madlang modifierList :: M.Map String (T.Text -> T.Text)@@ -121,6 +120,6 @@ | key2 == "Return" = LT | orderHelper key1 l2 = LT | orderHelper key2 l1 = GT- | key2 `elem` (traceShow (key1, key2, GT) $ allDeps context key1) = GT- | key1 `elem` (traceShow (key1, key2, LT) $ allDeps context key2) = LT+ | key2 `elem` allDeps context key1 = GT+ | key1 `elem` allDeps context key2 = LT | otherwise = EQ