summaryrefslogtreecommitdiff
path: root/SC/Prelude.hs
diff options
context:
space:
mode:
authorTom Smeding <tom@tomsmeding.com>2021-09-25 21:45:43 +0200
committerTom Smeding <tom@tomsmeding.com>2021-09-25 21:46:10 +0200
commit57e5bbbbab0d5315c6bba497447ff9bf2487e995 (patch)
treee505ed9ff97f8822824c5b8d1d7615f5c86f1d65 /SC/Prelude.hs
parent070772f008bcb5edb63f3f2c2c5f10c4eb9cb008 (diff)
Lots of stuff; can compile simple single-generate program
Diffstat (limited to 'SC/Prelude.hs')
-rw-r--r--SC/Prelude.hs8
1 files changed, 8 insertions, 0 deletions
diff --git a/SC/Prelude.hs b/SC/Prelude.hs
new file mode 100644
index 0000000..d29ef69
--- /dev/null
+++ b/SC/Prelude.hs
@@ -0,0 +1,8 @@
+{-# LANGUAGE TemplateHaskell #-}
+module SC.Prelude where
+
+import Data.FileEmbed
+
+
+prelude :: String
+prelude = $(embedStringFile "prelude.c")