Declare next() as throws NoSuchElementException.
Provide automatic detection of cabal binary in compiler settings.