on master help sign in
Merge pull request #47 from GunioRobot/clean

Hi! I cleaned up your code for you!

commit906be33f9c4c03c4d78d2e6eeeb4c0234e723e49 authorJasper Van der Jeugt <jaspervdj@gmail.com> dateFri 16 Dec 2011, 03:52 (15 years ago) parentea20ca3c842ec6
3 files changed+8−8
web/css/syntax.css+2−2 web/tutorials/03-arrows.markdown+1−1 web/tutorials/04-guide.markdown+5−5
web/css/syntax.css+2−2
@@ -1,9 +1,9 @@
11/* Generated by pandoc. */
2−table.sourceCode, tr.sourceCode, td.lineNumbers, td.sourceCode, table.sourceCode pre
2+table.sourceCode, tr.sourceCode, td.lineNumbers, td.sourceCode, table.sourceCode pre
33 { margin: 0; padding: 0; border: 0; vertical-align: baseline; border: none; }
44td.lineNumbers { border-right: 1px solid #AAAAAA; text-align: right; color: #AAAAAA; padding-right: 5px; padding-left: 5px; }
55td.sourceCode { padding-left: 5px; }
6−pre.sourceCode span.kw { color: #007020; font-weight: bold; }
6+pre.sourceCode span.kw { color: #007020; font-weight: bold; }
77pre.sourceCode span.dt { color: #902000; }
88pre.sourceCode span.dv { color: #40a070; }
99pre.sourceCode span.bn { color: #40a070; }
web/tutorials/03-arrows.markdown+1−1
@@ -22,7 +22,7 @@ has a `published` metadata element that does not have the value
2222isPublished :: Page a -> Bool
2323isPublished p =
2424 let published = getField "published" p in
25− published /= "" && published /= "false"
25+ published /= "" && published /= "false"
2626~~~~~
2727
2828The next step is to write a function that tags a page with its
web/tutorials/04-guide.markdown+5−5
@@ -20,7 +20,7 @@ you need to get started building a site with hakyll.
2020 This is one of the modules you should look at first. It defines the
2121 fundamental `Compiler` type and has a bunch of documentation explaining how to
2222 use `Compiler`s and their `Arrow`-based interface.
23−
23+
2424 It also defines many primitive `Compiler`s as well as several
2525 variants on `require`, which allow you to bring together multiple
2626 resources to create a single output.
@@ -33,14 +33,14 @@ you need to get started building a site with hakyll.
3333
3434 Specify which compilers and routes should be used on which
3535 resources.
36−
36+
3737 Also has combinators for grouping (necessary if you want to use
3838 the same resources for multiple purposes), creating outputs that
3939 are not based on any resources, and even dynamically generating
4040 compilers.
4141
4242* [Hakyll.Core.Identifier.Pattern](/reference/Hakyll-Core-Identifier-Pattern.html)
43−
43+
4444 Combinators for creating *patterns*, i.e. predicates that pick out
4545 a set of resources: filesystem globs, arbitrary predicates,
4646 explicit lists, regular expressions, and so on.
@@ -66,7 +66,7 @@ you need to get started building a site with hakyll.
6666 The main `hakyll` function that runs the whole show. There is
6767 also a `hakyllWith` function which allows for a custom
6868 configuration.
69−
69+
7070## Pre-packaged solutions
7171
7272These modules contain some "pre-packaged" solutions for common
@@ -108,7 +108,7 @@ inspiration for your own tools.
108108 find and replace, split on regexp).
109109
110110* [Hakyll.Core.Writable.WritableTuple](/reference/Hakyll-Core-Writable-WritableTuple.html)
111−
111+
112112 A utility type covering the situation where you generate some
113113 data, some of which you want to write to disk, and some of which
114114 you don't want to write but will be needed in order to generate