Thus spoke Jean-Philippe Bernardy: > On Sun, Nov 23, 2008 at 12:52 AM, Александър Л. Димитров > Strangely, ArbMove is defined in the very file you load. Does ghci say > "interpreted" > when the module is loaded?
No. It says the following: > % ghci -cpp -XRankNTypes -XFlexibleContexts -XGeneralizedNewtypeDeriving \ > -XDeriveDataTypeable -IYi/Lexer -idist/build -idist/build/autogen \ > -idist/build/yi/yi-tmp Yi/Keymap/Vim.hs > GHCi, version 6.8.2: http://www.haskell.org/ghc/ :? for help > Loading package base ... linking ... done. > [compiling a huge list of modules (89, to be exact)] > > Ok, modules loaded: [List of all modules it previously compiled] > *Yi.Keymap.Vim> :t ArbMove > > <interactive>:1:0: > Can't find interface-file declaration for data constructor ArbMove > Probable cause: bug in .hi-boot file, or inconsistent .hi file > Use -ddump-if-trace to get an idea of which file caused the error > *Yi.Keymap.Vim> This is not unique to ArbMove, it seems many of the types declared in this file are not recognized. > > I've extended the small TODO-list in Vim.hs, and devised a one-liner fix for > > S-i. I'll darcs-send them soon. > > Great! OK, I've sent some small patches to the list. I've not yet tackled the big issues :-) Aleks
pgp9ZZ2TuanmQ.pgp
Description: PGP signature
