Commit graph

842 commits

Author SHA1 Message Date
Daniel Ehlers
6d81544fb3 Fix possible division by zero.
When 'maxCount' and 'minCount' are equal then 'relative' will return NaN.
Which result in font-size 0 on all tags in the tag cloud.
2011-02-06 20:41:21 +01:00
Jasper Van der Jeugt
7348e1c058 Version bump 2011-02-06 18:34:26 +01:00
Jasper Van der Jeugt
49354df1d1 Update blaze dependency 2011-02-06 18:33:57 +01:00
Jasper Van der Jeugt
bd261e9151 Add getRouteFor 2011-02-06 18:32:09 +01:00
Jasper Van der Jeugt
ec9c1ec0db Instantiate ArrowChoice for Compiler 2011-02-05 13:38:20 +01:00
Jasper Van der Jeugt
c093761e89 Route → Routes 2011-02-03 16:07:49 +01:00
Jasper Van der Jeugt
5705bb8f88 Add command-line args 2011-02-03 14:18:09 +01:00
Jasper Van der Jeugt
26c95402d8 Add a top-level configuration type 2011-02-03 11:34:00 +01:00
Jasper Van der Jeugt
97ce6cbfa0 Add setFieldA function 2011-01-30 15:18:38 +01:00
Jasper Van der Jeugt
c691251fc7 Autogenerate metacompiler indentifiers 2011-01-30 10:44:42 +01:00
Jasper Van der Jeugt
6cecbb890f Add fromCaptureString function 2011-01-25 20:56:10 +01:00
Jasper Van der Jeugt
7ba1413ea9 Add suffix to store files
This prevents file/directory clashes. Example:
when we have a `tags` item, and a `tags/foo` item,
there will be a clash since the store creates:

- a file `store/tags`;
- a file `store/tags/foo`.

The second file requires the first file to be a
directory.

We simply solve this by adding a suffix to all
store files, so it becomes:

- a file `store/tags.hakyllstore`;
- a file `store/tags/foo.hakyllstore`.
2011-01-25 13:50:02 +01:00
Jasper Van der Jeugt
e536a5961c Functor & Applicative instances for Compiler 2011-01-25 11:14:22 +01:00
Jasper Van der Jeugt
9b3e524128 Define all require functions in arrows
TODO: Think of a good naming scheme
2011-01-24 13:30:23 +01:00
Jasper Van der Jeugt
a1d8f4f3f8 Update data files 2011-01-24 13:30:09 +01:00
Jasper Van der Jeugt
69f15f55ee Fix typo in requireAllA doc (thanks beastaugh) 2011-01-19 08:51:18 +01:00
Jasper Van der Jeugt
89cd33c723 Add requireA/requireAllA functions 2011-01-18 23:58:29 +01:00
Jasper Van der Jeugt
374a9dde5a Micro cleanup 2011-01-18 23:58:16 +01:00
Jasper Van der Jeugt
f104f91182 Monoid instance for page 2011-01-18 23:57:58 +01:00
Jasper Van der Jeugt
0bbc01f012 Backports feeds 2011-01-18 13:29:42 +01:00
Jasper Van der Jeugt
821dd38c13 Add some more defaults 2011-01-18 10:33:13 +01:00
Jasper Van der Jeugt
88b823eb5e Make static server configurable 2011-01-18 09:06:54 +01:00
Jasper Van der Jeugt
cea2197924 Add prototype preview server 2011-01-17 23:21:20 +01:00
Jasper Van der Jeugt
2f951598ef Allow IO operations in compilers 2011-01-17 22:43:44 +01:00
Jasper Van der Jeugt
c576424325 Backport ContextManipulations → Metadata 2011-01-17 16:08:37 +01:00
Jasper Van der Jeugt
78391b9be2 Clearer error message 2011-01-17 16:08:13 +01:00
Jasper Van der Jeugt
e3f8856665 Add renderTagCloud prototype 2011-01-17 10:04:09 +01:00
Jasper Van der Jeugt
d569ae5156 Add utility mapA function 2011-01-17 10:03:26 +01:00
Jasper Van der Jeugt
b867e6f204 Fix skipping certain compilers error 2011-01-17 10:02:46 +01:00
Jasper Van der Jeugt
6e7dc0e58f Micro-cleanup 2011-01-14 08:50:34 +01:00
Jasper Van der Jeugt
3ea3c52f53 Rewrite Run module a bit, get rid off obsolete 2011-01-11 20:20:34 +01:00
Jasper Van der Jeugt
607b1d7d63 sanitize function for DirectedGraph 2011-01-11 19:55:34 +01:00
Jasper Van der Jeugt
c6710ac09a Migrate Reader → Reader, State in Run module 2011-01-08 10:31:08 +01:00
Jasper Van der Jeugt
df8e221aef Fully qualified errors 2011-01-08 09:09:11 +01:00
Jasper Van der Jeugt
d0939102bf Metacompilers now work, todo: cleanup 2011-01-07 19:17:14 +01:00
Jasper Van der Jeugt
ddb8ea2193 Metacompilers now work, except for "modified" 2011-01-07 15:44:11 +01:00
Jasper Van der Jeugt
c443d5c116 Binary/Typeable/Writable instances for Tags 2011-01-07 15:12:22 +01:00
Jasper Van der Jeugt
672ecb077c Add fromCapture(s) 2011-01-07 15:09:55 +01:00
Jasper Van der Jeugt
7bf3450caf Run metacompilers instead of ignoring them 2011-01-07 14:48:47 +01:00
Jasper Van der Jeugt
1bf95c0028 Rank N compilers (compiler in compilers in...) 2011-01-07 14:40:33 +01:00
Jasper Van der Jeugt
f1e726be69 Renaming for consistency 2011-01-07 14:34:31 +01:00
Jasper Van der Jeugt
9e88440102 Restructure hakyllWith for metacompilers 2011-01-07 14:22:15 +01:00
Jasper Van der Jeugt
c7d63835f8 Move hakyllWith to hakyll monad 2011-01-07 12:47:02 +01:00
Jasper Van der Jeugt
11d7031da3 Add compilers producing compilers 2011-01-07 12:12:13 +01:00
Jasper Van der Jeugt
70fa0c2ff1 Add waitFor directive 2011-01-07 10:14:36 +01:00
Jasper Van der Jeugt
664648c5f9 Proof-of-concept tag module 2011-01-05 13:12:50 +01:00
Jasper Van der Jeugt
77c7d8dc17 Add in-memory map to store
This allows us to get rid of the dependency
lookup map and use one uniform cache/lookup.
2011-01-04 13:09:45 +01:00
Jasper Van der Jeugt
0969fe41c7 Add relativize URL's functionality 2011-01-04 11:13:08 +01:00
Jasper Van der Jeugt
e395b0af9a Store result automatically using runCompiler 2011-01-03 23:24:22 +01:00
Jasper Van der Jeugt
2ceb5f59d0 Avoid looking at up-to-date items at all 2011-01-03 22:13:04 +01:00