summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--examples/hakyll/tutorial3.markdown8
-rw-r--r--examples/hakyll/tutorial5.markdown2
2 files changed, 5 insertions, 5 deletions
diff --git a/examples/hakyll/tutorial3.markdown b/examples/hakyll/tutorial3.markdown
index 80f90e8..36a4b1b 100644
--- a/examples/hakyll/tutorial3.markdown
+++ b/examples/hakyll/tutorial3.markdown
@@ -90,7 +90,7 @@ the end just `key: value` mappings. A CustomPage is created using the
~~~~~{.haskell}
createCustomPage :: FilePath
-> [FilePath]
- -> [(String, Either String (IO String)]
+ -> [(String, Either String (Hakyll String)]
~~~~~
The first argument is the `url` of the page to generate. For our index page,
@@ -103,11 +103,11 @@ This, once again, is about dependency handling. The idea is that you can choose
which type to use for the value:
- `String`: Simply a `String`.
-- `IO String`: Here, you can give an arbitrary `IO` action that will result
- in a String. However - this action _will not be executed_ when the file
+- `Hakyll String`: Here, you can give an arbitrary `Hakyll` action that will
+ result in a String. However - this action _will not be executed_ when the file
in `_site` is up-to-date.
-First, let us define this `IO String` for our index page. We want to render
+First, let us define this `Hakyll String` for our index page. We want to render
every post using a simple template:
~~~~~{.html}
diff --git a/examples/hakyll/tutorial5.markdown b/examples/hakyll/tutorial5.markdown
index 84f0dee..fc7d17b 100644
--- a/examples/hakyll/tutorial5.markdown
+++ b/examples/hakyll/tutorial5.markdown
@@ -159,7 +159,7 @@ post lists for every tag.
Hakyll provides a function called `readTagMap`. Let's inspect it's type.
~~~~~{.haskell}
-readTagMap [FilePath] -> IO Map String [FilePath]
+readTagMap [FilePath] -> Hakyll Map String [FilePath]
~~~~~
You give it a list of paths, and it creates a map that, for every tag, holds