summaryrefslogtreecommitdiff
path: root/src/Main.hs
diff options
context:
space:
mode:
authorGravatar Benjamin Barenblat <bbaren@mit.edu>2015-02-11 20:51:34 -0500
committerGravatar Benjamin Barenblat <bbaren@mit.edu>2015-02-11 20:51:34 -0500
commita5647e17247232f8cb05379ce046142248810f31 (patch)
tree8120237c238dd7719003c6ec1efaaecb576ffe30 /src/Main.hs
parentb020a5f7783294770b3ead5b969f108733be7711 (diff)
Fragment: Give up and use pattern matching
I’m normally opposed to pattern matching in high-quality apps, but this is so small that I’m unconvinced it’ll be a problem. I can always switch to explicit accessors if things get too coupled.
Diffstat (limited to 'src/Main.hs')
-rw-r--r--src/Main.hs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Main.hs b/src/Main.hs
index 74ea1d2..bf81ae2 100644
--- a/src/Main.hs
+++ b/src/Main.hs
@@ -19,6 +19,7 @@ import System.Exit (exitFailure)
import Fragment (parseFile, parseStdin)
import Tangle (tangle)
+import Weave (weave)
main :: IO ()
main = do