[web-devel] ANN: Hakyll 3.1
Jasper Van der Jeugt
jaspervdj at gmail.com
Wed Apr 6 09:51:44 CEST 2011
I've just uploaded Hakyll 220.127.116.11  to Hackage. It contains some
backwards-incompatible changes (but they are really for the greater
The most important change is the matching done in the rules DSL. What
used to be written as:
route "posts/*" someRoute
compile "posts/*" someCompiler
Is now written as:
match "posts/*" $ do
This new style is way more expressive, as you can define custom
predicates such as:
match (predicate (\i -> matches "foo/*" i && not (matches
"foo/bar" i))) $ do ...
For more information, see the Pattern documentation .
Another slight change is that the `Hakyll.Web.Tags`  module now
uses an association list instead of a `Data.Map` -- in case you want
to change the order in which tags are displayed.
If you have any questions or trouble migrating, feel free to drop a
mail to me or here  or visit us in #hakyll on Freenode.
More information about the web-devel