Skip to content

Instantly share code, notes, and snippets.

@yuki2006
Last active August 29, 2015 14:14
Show Gist options
  • Save yuki2006/466b7ed89486178c8309 to your computer and use it in GitHub Desktop.
Save yuki2006/466b7ed89486178c8309 to your computer and use it in GitHub Desktop.
--- main.hs 2015-08-22 16:24:27.351355308 +0000
+++ main.hs.p 2015-08-23 03:52:38.758773446 +0000
@@ -26,7 +26,7 @@ import Input
import VM
import Tokens
-import System(getArgs)
+import System.Environment(getArgs)
main :: IO ()
main = do
@@ -37,7 +37,7 @@ main = do
usage :: IO ()
usage = do
- putStrLn "wspace 0.2 (c) 2003 Edwin Brady"
+ putStrLn "wspace 0.3 (c) 2003 Edwin Brady"
putStrLn "-------------------------------"
putStrLn "Usage: wspace [file]"
--- VM_old.hs 2015-01-28 23:48:22.776845328 +0900
+++ VM.hs 2015-01-29 03:37:52.215270886 +0900
@@ -1,6 +1,6 @@
module VM where
-import IO
+import System.IO
{- Stack machine for running whitespace programs -}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment