What are the similarities and differences among Haskell indentation modes for Emacs?

Really, as far as I am aware from asking people, there is no de facto standard, people have strong opinions about which they prefer but with little specific evidence other than “it works for me in most cases”. The haskell-indentation package and haskell-indent packages are the most popular: both have a tab cycle both are …

Read more

Where can I learn about #ifdef?

The GHC documentation has a section relating to the C pre-processor that documents some of the predefined pre-processor macros. The Cabal documentation has a section relating to conditional compilation that gives an example relating to base. If you are writing a portable package, you should be using Cabal, anyway.