Shim is being phased out at the moment in favour of Scion. (Which is also broken in subtler ways). For now I'd advise not using the ghcAPI flag.
Cheers, JP. On Sun, Sep 6, 2009 at 7:40 PM, Gwern Branwen<gwe...@gmail.com> wrote: > > [129 of 130] Compiling Yi.UI.Pango.Control ( > src/Yi/UI/Pango/Control.hs, dist/build/Yi/UI/Pango/Control.o ) > [130 of 130] Compiling Yi.Mode.Shim ( src/Yi/Mode/Shim.hs, > dist/build/Yi/Mode/Shim.o ) > > src/Yi/Mode/Shim.hs:78:33: > Couldn't match expected type `KeymapSet' > against inferred type `f ()' > In the second argument of `(.)', namely > `((<||) > (((ctrl $ char 'c') > ?>> > choice > [ctrl (char 't') ?>>! typeAtPos, > char '!' ?>> char 't' ?>>! annotType, > char '!' ?>> char '=' ?>>! annotType, > ctrl (char 'd') ?>>! jumpToDefinition, ....]) > <|> > (ctrl (char 'x') ?>> char '`' ?>>! jumpToNextNote)))' > In the `modeKeymap' field of a record > In the expression: > m {modeName = modeName m ++ "+shim", > modeKeymap = modeKeymap m > . ((<||) > (((ctrl $ char 'c') > ?>> > choice > [ctrl (char 't') ?>>! typeAtPos, > char '!' ?>> char 't' ?>>! annotType, > char '!' ?>> char '=' ?>>! annotType, ....]) > <|> > (ctrl (char 'x') ?>> char '`' ?>>! > jumpToNextNote)))} > cabal: Error: some packages failed to install: > yi-0.6.1 failed during the building phase. The exception was: > exit: ExitFailure 1 > [01:27 PM] 0Mb$ pull > new > Pulling from "http://code.haskell.org/yi"... > No remote changes to pull in! > [01:39 PM] 0Mb$ new > hunk ./src/Yi/Verifier/JavaScript.hs 4 > --- ! User configuration. > --- ! Checking for side-effect-less code, e.g. "1;". > +-- * User configuration. > +-- * Checking for side-effect-less code, e.g. "1;". > hunk ./yi.cabal 44 > - Default: False > + Default: True > hunk ./yi.cabal 49 > - Default: False > + Default: True > hunk ./yi.cabal 343 > - ghc-options: -Wall -fno-warn-orphans -threaded > + ghc-options: -Wall -fno-warn-orphans -threaded -O2 > > > -- > gwern > > > > --~--~---------~--~----~------------~-------~--~----~ Yi development mailing list yi-devel@googlegroups.com http://groups.google.com/group/yi-devel -~----------~----~----~----~------~----~------~--~---