Claus Reinke wrote:
I'm often annoyed by foo <- readFile printing the entire file contents
on my console. I know there is this flag to turn it off but I can never
remember what the flag is called. I have to look it up every time or
suffer pages of file content on my console.

finding that flag (and other topic-related flags) might become
easier in future. there is one patch for head that would allow
to query directly for interactive mode (or other topical) flags:

$ /cygdrive/c/fptools/ghc/compiler/stage2/ghc-inplace --flags Interactive:

How did I know that the search term I wanted was "Interactive"? I'd probably try "GHCi" first. How did I know that I have to add that colon at the end? Yet the user certainly knows how to navigate a web page, or a text file or man page on Unix. We don't need a GHC-specific user interface to documentation that needs documenting itself.

Cheers,
        Simon

_______________________________________________
Cvs-ghc mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-ghc

Reply via email to