Created
January 31, 2010 02:33
-
-
Save solidsnack/290856 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- Eval in Haskell. | |
import Data.Word | |
import Language.Haskell.Interpreter | |
import Language.Haskell.Interpreter.Server | |
wordy = do | |
h <- start | |
runIn h go | |
where | |
go = do | |
setImports ["Data.Word", "GHC.Enum"] | |
interpret "minBound" (as :: Word32) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment