
OK, got the builds to work. I did, in fact, have to go two layers down
to build yi-lib and install it before building yi proper. (I think this
needs to be updated in the docs or repaired, whichever is appropriate.)
So, I have a Yi build. I type "Yi" and it... dies. It complains about
not having a YiConfig.hs and suggests something to read. (I like this
touch, actually.) And, unlike, say, emacs, it tells you how to exit.
So I copy the examples/YiConfig.hs to ~/.yi and try again. I'll let the
console speak for itself:
/home/michael/.yi/YiConfig.hs:15:2:
Couldn't match expected type `GHC.IOBase.IORef Editor'
^I against inferred type `Yi'
Expected type: Control.Monad.Reader.ReaderT
(GHC.IOBase.IORef Editor)
^I^I^I^I^I^I IO
^I^I^I^I^I^I t
Inferred type: Action
In the expression: changeKeymapE myKeymap
In a 'do' expression: changeKeymapE myKeymap
This is the stock YiConfig.hs left completely untouched and boilerplate.
What's the next step? (Running yi --as=whatever doesn't help either.
Same errors.)
--
Michael T. Richter