diff options
-rw-r--r-- | .ghci | 2 | ||||
-rw-r--r-- | .gitignore | 3 | ||||
-rw-r--r-- | .stylish-haskell.yaml | bin | 0 -> 400 bytes | |||
-rw-r--r-- | Main.hs | 6 | ||||
-rw-r--r-- | README | 1 | ||||
-rw-r--r-- | package.yaml | 20 | ||||
-rw-r--r-- | src/Suem.hs | 4 | ||||
-rw-r--r-- | stack.yaml | 5 |
8 files changed, 41 insertions, 0 deletions
@@ -0,0 +1,2 @@ +:set prompt ">>> " +:set prompt2 "... " diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..61e1b67 --- /dev/null +++ b/.gitignore @@ -0,0 +1,3 @@ +.stack-work/ +*.cabal +*.lock diff --git a/.stylish-haskell.yaml b/.stylish-haskell.yaml Binary files differnew file mode 100644 index 0000000..f9dfdf3 --- /dev/null +++ b/.stylish-haskell.yaml @@ -0,0 +1,6 @@ +module Main where + +import Suem + +main :: IO () +main = printROM @@ -0,0 +1 @@ +blah-blah-blah diff --git a/package.yaml b/package.yaml new file mode 100644 index 0000000..9c54176 --- /dev/null +++ b/package.yaml @@ -0,0 +1,20 @@ +name: suem +version: 0.1.0.0 +synopsis: Suen Emulator + +extra-source-files: +- README + +ghc-options: -O2 -Wall -static -optl-static -optl-pthread + +dependencies: +- base >= 4.7 && < 5 + +library: + source-dirs: src + +executable: + main: Main.hs + ghc-options: -threaded -rtsopts -with-rtsopts=-N + dependencies: + - suem diff --git a/src/Suem.hs b/src/Suem.hs new file mode 100644 index 0000000..f74976e --- /dev/null +++ b/src/Suem.hs @@ -0,0 +1,4 @@ +module Suem (printROM) where + +printROM :: IO () +printROM = putStrLn "ROM" diff --git a/stack.yaml b/stack.yaml new file mode 100644 index 0000000..22c9d4d --- /dev/null +++ b/stack.yaml @@ -0,0 +1,5 @@ +packages: +- . +system-ghc: true +resolver: + compiler: ghc-8.8.4 |