Commit graph

94 commits

Author SHA1 Message Date
Jasper Van der Jeugt
8b57ab509f Add logger to Compiler monad 2011-02-21 13:02:35 +01:00
Jasper Van der Jeugt
12a0e5387b Add Unix filters as compilers 2011-02-21 11:42:19 +01:00
Jasper Van der Jeugt
678f18973f Quit/Sync bug fix 2011-02-21 10:56:04 +01:00
Jasper Van der Jeugt
256cc760ba Add pretty, thread-safe logger 2011-02-21 02:56:57 +01:00
Jasper Van der Jeugt
f04efbad3e Preview/INotify now works 2011-02-19 17:04:50 +01:00
Jasper Van der Jeugt
a5438d8d92 defaultCopyFile → copyFileCompiler 2011-02-15 22:46:43 +01:00
Jasper Van der Jeugt
3346123ca6 Receive list of used resources in Run module 2011-02-15 18:43:22 +01:00
Jasper Van der Jeugt
5a591ee24c Rules DSL tracks resources used 2011-02-15 18:32:55 +01:00
Jasper Van der Jeugt
1e0c875d6e More Identifier documentation 2011-02-12 16:54:31 +01:00
Jasper Van der Jeugt
1100f65f76 Document Compiler module 2011-02-12 10:26:58 +01:00
Jasper Van der Jeugt
34257df262 Resource = Identifier with an exists invariant 2011-02-11 23:26:54 +01:00
Jasper Van der Jeugt
2b9858a8f9 Add Resource type for improved type-safety 2011-02-11 17:52:19 +01:00
Jasper Van der Jeugt
dd81433d74 Split Rules module, add documentation 2011-02-11 13:30:55 +01:00
Jasper Van der Jeugt
2dfe7f6a67 Document Routes module 2011-02-11 08:48:18 +01:00
Jasper Van der Jeugt
4e0abd872a Update cabal file, fix warnings 2011-02-11 08:39:10 +01:00
Jasper Van der Jeugt
84d920432c Add customRoute 2011-02-11 08:20:35 +01:00
Jasper Van der Jeugt
c03607e087 Add prototype inotify backend 2011-02-10 20:05:50 +01:00
Jasper Van der Jeugt
77f37c1443 getRecursiveContents can return directories 2011-02-10 18:59:16 +01:00
Jasper Van der Jeugt
48da85b341 Add isFileInternal 2011-02-10 16:42:26 +01:00
Jasper Van der Jeugt
ee320c6166 Finish tags module 2011-02-09 13:02:28 +01:00
Jasper Van der Jeugt
f56eb538b6 Lazy pattern matching for compiler composition 2011-02-07 16:01:09 +01:00
Jasper Van der Jeugt
986a74b3af Add mapA 2011-02-07 11:41:09 +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
26c95402d8 Add a top-level configuration type 2011-02-03 11:34:00 +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
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
0bbc01f012 Backports feeds 2011-01-18 13:29:42 +01:00
Jasper Van der Jeugt
2f951598ef Allow IO operations in compilers 2011-01-17 22:43:44 +01:00
Jasper Van der Jeugt
78391b9be2 Clearer error message 2011-01-17 16:08:13 +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
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