On Sat, Nov 22, 2008 at 10:50 PM, Александър Л. Димитров
<[EMAIL PROTECTED]> wrote:
> 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.

Excellent!  Nicolas Pouillard is the Vim-bindings specialist, maybe he'll have
useful feedback for you.

> 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?)

I never use the debugger. I'd be interested in your experience with it on Yi.

> 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.

I've just added a Makefile rule (interactive) to load Yi in ghci. This
is for  my config,
so you might have to adapt it a bit. (Ideally this should be a Cabal feature).
Please, tell me how that goes for you.

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

Thanks to you :) ... And I think I can speak for the whole team here :)

If you have further questions feel free to ask!

Cheers,
JP.

--~--~---------~--~----~------------~-------~--~----~
Yi development mailing list
[email protected]
http://groups.google.com/group/yi-devel
-~----------~----~----~----~------~----~------~--~---

Reply via email to