madlang 4.0.2.6 → 4.0.2.7
raw patch · 3 files changed
+10/−3 lines, 3 files
Files
- README.md +8/−1
- madlang.cabal +1/−1
- src/Text/Madlibs/Ana/Resolve.hs +1/−1
README.md view
@@ -218,8 +218,15 @@ and invoke with -```+```bash $ pi new madlang story+```++There is also a templated project+[here](https://github.com/vmchale/madlang-miso) that can be invoked via++```bash+pi git vmchale/https://github.com/vmchale/madlang-miso story ``` ### Manpages
madlang.cabal view
@@ -1,6 +1,6 @@ cabal-version: >=1.10 name: madlang-version: 4.0.2.6+version: 4.0.2.7 license: BSD3 license-file: LICENSE copyright: Copyright: (c) 2016-2018 Vanessa McHale
src/Text/Madlibs/Ana/Resolve.hs view
@@ -84,7 +84,7 @@ -- | Run in the appropriate folder runInFolder :: [T.Text] -> FilePath -> FilePath -> IO T.Text-runInFolder = (either (pure . parseErrorPretty') (>>= (pure . show')) =<<) .** (fmap (fmap run) .** parseFile)+runInFolder = (either (pure . parseErrorPretty') (>>= pure) =<<) .** (fmap (fmap run) .** parseFile) -- | Run based on text input, with nothing linked. runText :: (MonadRandom m) => [T.Text] -> String -> T.Text -> m T.Text