On Wed, Dec 24, 2014 at 11:40 AM, jenia.ivlev <jenia.ivlev@gmail.com> wrote:
I have therefore setup this config file (someone gave it to me, I don't
know Haskell). But it gives me errors and I can't figure out why:

It would be helpful to include the full error messages.
 
import XMonad
import XMonad.Hooks.DynamicLog

    main = xmonad =<< statusBar cmd pp kb conf

Haskell is sensitive to indentation; the fact that this and myConfig are indented relative to the imports can itself lead to errors.

--
brandon s allbery kf8nh                               sine nomine associates
allbery.b@gmail.com                                  ballbery@sinenomine.net
unix, openafs, kerberos, infrastructure, xmonad        http://sinenomine.net