Hello, people,


here are two minor questions on  ghc.


(1)
To make  ghc-2.04  putting  .o  files into the given subdirectory,
say, `o_hi',  we command
                         ghc -c Foo.hs  -odir o_hi

What is the similar option for  .hi ?
I cannot find it in the ghc user guide. It suggests only

                         ghc -c Foo.hs  -ohi o_hi/Foo.hi

But this is not so comfortable.
Besides, it is said not recommended. Could anybody explain this?


(2)
catMaybes  had escaped from the ghc-0.29 library;  the doc. says:

"catMaybes,  which used to be here, is in the Haskell-1.3 libraries."

Besides it is set under the conditional compilation in the sources. 

What is the idea?  Is  catMaybes  any better than  allMaybes ?

In the binary snapshot I have, it is not compiled.  So I simply 
repeate the script. But there might be some better solution  - ?


Thank you.
-------------------------------------
Sergey Mechveliani   [EMAIL PROTECTED]




Reply via email to