This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# So.. I wrote a parser for that... I know there are many easier ways, | |
# but this parser just feels more generic and with a little extension | |
# for result handling, it can actually be extended to a fully functional | |
# recursive descendant parser. | |
# The parser is based on Monadic Parsing common in functional languages | |
class Parser: | |
def parse(self, a): | |
pass |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module Hakyll.Web.Archives | |
( Archives | |
, buildArchives | |
, archiveField | |
, archiveRules) where | |
import Control.Applicative | |
import Data.List (intercalate, sort) | |
import Data.Time | |
import System.Locale (defaultTimeLocale) |
NewerOlder