diff options
author | Benjamin Barenblat <bbaren@mit.edu> | 2015-02-11 20:51:34 -0500 |
---|---|---|
committer | Benjamin Barenblat <bbaren@mit.edu> | 2015-02-11 20:51:34 -0500 |
commit | a5647e17247232f8cb05379ce046142248810f31 (patch) | |
tree | 8120237c238dd7719003c6ec1efaaecb576ffe30 /src/Main.hs | |
parent | b020a5f7783294770b3ead5b969f108733be7711 (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.hs | 1 |
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 |