[Haskell-cafe] What is the difference between runhaskell and compile?

Chris Dornan chris at chrisdornan.com
Tue May 29 16:58:04 CEST 2012

I will send the header and object files off list.

Here is the test program I am using:

import LDAP

main :: IO ()
main =
     do putStrLn "domain>"
        domain <- getLine
        putStrLn "bindDN>"
        bindDN <- getLine
        putStrLn "bindPW>"
        bindPW <- getLine
        putStrLn "conecting..."
        ldap <- ldapInit domain ldapPort
        ldapSimpleBind ldap bindDN bindPW
        putStrLn "done"


More information about the Haskell-Cafe mailing list