[dottedmag@homenas:~]% ghc6 -o hello hello.hs
[dottedmag@homenas:~]% ./hello
Hello world!
[dottedmag@homenas:~]% file hello
hello: ELF 32-bit LSB executable, ARM, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.14, not stripped
[dottedmag@homenas:~]% dpkg-architecture -qDEB_HOST_GNU_TYPE
arm-linux-gnueabi
[dottedmag@homenas:~]% cat hello.hs
main = putStrLn "Hello world!"
[dottedmag@homenas:~]%