aboutsummaryrefslogtreecommitdiff
path: root/bootstrap/src/BuildModel.hs
diff options
context:
space:
mode:
authorBrad Richardson <everythingfunctional@protonmail.com>2020-10-14 12:23:03 -0500
committerBrad Richardson <everythingfunctional@protonmail.com>2020-10-14 12:23:03 -0500
commit0a7eb98dd5083ede9e940a3e9cc424b76968ba4a (patch)
treea772f2d55d9b08096536648fada3c736f4920e57 /bootstrap/src/BuildModel.hs
parentef7cbcd4014e9b81a57d9f16564623d4073b461d (diff)
downloadfpm-0a7eb98dd5083ede9e940a3e9cc424b76968ba4a.tar.gz
fpm-0a7eb98dd5083ede9e940a3e9cc424b76968ba4a.zip
Finish first unit test
Diffstat (limited to 'bootstrap/src/BuildModel.hs')
-rw-r--r--bootstrap/src/BuildModel.hs11
1 files changed, 11 insertions, 0 deletions
diff --git a/bootstrap/src/BuildModel.hs b/bootstrap/src/BuildModel.hs
new file mode 100644
index 0000000..87c45c7
--- /dev/null
+++ b/bootstrap/src/BuildModel.hs
@@ -0,0 +1,11 @@
+module BuildModel where
+
+data RawSource = RawSource {
+ rawSourceFilename :: FilePath
+ , rawSourceContents :: String
+}
+
+data Source = Program
+
+processRawSource :: RawSource -> Source
+processRawSource _ = Program