Checking for haskell source in commands