Hello folks,

I just got Yi to compile for the first time (yay!) and am already playing around
with it. I'd like to increase its Vim-style editing functionality (it's
currently rather limited; no marks, for example) and approximate the behaviour a
bit more to the actual Vim.

However, since it's entirely new code for me, and I'm no Haskell Guru, I thought
I'd give it a shot with the GHCi debugger. I use GHCi for a lot of stuff when
writing code in Haskell: trying out random experiments, resolving type issues
and just plain tracing the code, using GHCi's debugger, breakpoints and other
capabilities (such as: what's in that variable again?)

Unfortunately, this seems to be non-trivial with Yi. First, it chokes on the
ifdefs in several files (Yi/Main.hs and HConf.hs) and even if I just remove
those ifdefs, replacing them with appropriate values for my system, I end up
with error messages about a module Yi_paths being hidden.

Anyone tried loading Yi's code into GHCi before? If not, some (documentation)
hints on the build procedure would be very appreciated, so I could figure out a
way to circumvent the current problems. It seems that the build procedure is
rather complicated, and I'm currently not willing/able to devote time to finding
out how exactly it works.

Thanks a lot, and congratulations for the nice work done so far!
Aleks

Attachment: pgpTLhAJXLzLw.pgp
Description: PGP signature

Reply via email to