Hi everybody, I'm very excited to announce the first release of Yi in nearly a year. For most of this time, Yi has been rather tough to install because of the mess of dependencies. Today these issues were resolved, and I uploaded a new package to Hackage, so installing Yi should be as simple as: $ cabal update $ cabal install yi If you have Gtk2Hs, it'll automatically build with Pango support, too. If not, it'll use the vty package on Hackage. I'm not sure whether either of these will work on Windows, unfortunately. There have also been a few changes since the last release a year ago: * Improvements to the Scion bindings, which may make it easier to work with GHC from within the editor. * Initial support for TextMate-style snippet support. * Various Pango UI improvements (e.g. horizontal scrolling support and improved support for tabs). * Various parser improvements, especially for the Haskell and JS parsers. * Replaced HConf with Dyre, which handles xmonad-style configs and recompiles. * Upgrade to VTY 4.0, which has large speed improvements. * Many, many optimizations. Yi 0.6.2.2 is on Hackage here: http://hackage.haskell.org/package/yi-0.6.2.2 -- Jeff Wheeler Undergraduate, Electrical Engineering University of Illinois at Urbana-Champaign
"Jeff" == Jeff Wheeler <jeff@nokrev.com> writes:
Jeff> Hi everybody, I'm very excited to announce the first release Jeff> of Yi in nearly a year. For most of this time, Yi has been Jeff> rather tough to install because of the mess of dependencies. Jeff> Today these issues were resolved, and I uploaded a new package Jeff> to Hackage, so installing Yi should be as simple as: Jeff> $ cabal update $ cabal install yi Not here. I get: cabal: dependencies conflict: ghc-6.10.4 requires template-haskell ==2.3.0.1 however template-haskell-2.3.0.1 was excluded because template-haskell-2.4.0.0 was selected instead template-haskell-2.3.0.1 was excluded because data-accessor-template-0.2.1.3 requires template-haskell ==2.4.* template-haskell-2.3.0.1 was excluded because yi-0.6.2.2 requires template-haskell ==2.4.* Is it for ghc 6.12 only? -- Colin Adams Preston Lancashire
On Wed, Mar 24, 2010 at 2:03 PM, Colin Paul Adams <colin@colina.demon.co.uk> wrote:
Is it for ghc 6.12 only?
I guess so. 6.12 requires template-haskell ==2.4, and I couldn't get Yi to compile without explicitly adding this into its cabal file. There may be a way to set the dependencies to work for both, but I don't see how. -- Jeff Wheeler Undergraduate, Electrical Engineering University of Illinois at Urbana-Champaign
"Jeff" == Jeff Wheeler <jeff@nokrev.com> writes:
Jeff> On Wed, Mar 24, 2010 at 2:03 PM, Colin Paul Adams Jeff> <colin@colina.demon.co.uk> wrote:
Is it for ghc 6.12 only?
Jeff> I guess so. 6.12 requires template-haskell ==2.4, and I Jeff> couldn't get Yi to compile without explicitly adding this into Jeff> its cabal file. There may be a way to set the dependencies to Jeff> work for both, but I don't see how. Hm. I edited the cabal file to allow >= 2.3 && < 2.5 and it just compiled. Wouldn't this work with 6.12 also? -- Colin Adams Preston Lancashire
On Wed, Mar 24, 2010 at 2:27 PM, Colin Paul Adams <colin@colina.demon.co.uk> wrote:
Hm. I edited the cabal file to allow >= 2.3 && < 2.5 and it just compiled. Wouldn't this work with 6.12 also?
Unfortunately not. Making that change yields: yi$ cabal install Resolving dependencies... cabal: dependencies conflict: ghc-6.12.1 requires template-haskell ==2.4.0.0 however template-haskell-2.4.0.0 was excluded because data-accessor-template-0.2.1.3 requires template-haskell >=2.2 && <2.4 data-accessor-template needs to be compiled with the -ftemplate_2_4 flag, which Cabal doesn't try here, for some reason. -- Jeff Wheeler Undergraduate, Electrical Engineering University of Illinois at Urbana-Champaign
"Jeff" == Jeff Wheeler <jeff@nokrev.com> writes:
Jeff> On Wed, Mar 24, 2010 at 2:27 PM, Colin Paul Adams Jeff> <colin@colina.demon.co.uk> wrote:
Hm. I edited the cabal file to allow >= 2.3 && < 2.5 and it just >> compiled. Wouldn't this work with 6.12 also?
Jeff> Unfortunately not. Anyway it works. At least, I managed to find out to save a customised version with emacs key bindings. But there is not gtk support, apparently, and I can't find out how to get help. -- Colin Adams Preston Lancashire
On Wed, Mar 24, 2010 at 2:46 PM, Colin Paul Adams <colin@colina.demon.co.uk> wrote:
Anyway it works. At least, I managed to find out to save a customised version with emacs key bindings. But there is not gtk support, apparently, and I can't find out how to get help.
I haven't successfully gotten Gtk2Hs to compile since this update, but if you can, Yi's Pango (Gtk) frontend should work, um, reasonably. There's a #yi room on freenode, but it's usually pretty quiet. The project has been near death for a while; I hope this release gets it in front of a few more people, at the least. -- Jeff Wheeler Undergraduate, Electrical Engineering University of Illinois at Urbana-Champaign
Well I think I can never figure out what it is I can actually do with Yi once it's installed. Editing keys are nice, but doe it let me build modules or jump in and out of ghci? It's difficult at best to use tools with no manual. Dave On Wed, Mar 24, 2010 at 12:54 PM, Jeff Wheeler <jeff@nokrev.com> wrote:
On Wed, Mar 24, 2010 at 2:46 PM, Colin Paul Adams <colin@colina.demon.co.uk> wrote:
Anyway it works. At least, I managed to find out to save a customised version with emacs key bindings. But there is not gtk support, apparently, and I can't find out how to get help.
I haven't successfully gotten Gtk2Hs to compile since this update, but if you can, Yi's Pango (Gtk) frontend should work, um, reasonably.
There's a #yi room on freenode, but it's usually pretty quiet. The project has been near death for a while; I hope this release gets it in front of a few more people, at the least.
-- Jeff Wheeler
Undergraduate, Electrical Engineering University of Illinois at Urbana-Champaign _______________________________________________ Haskell mailing list Haskell@haskell.org http://www.haskell.org/mailman/listinfo/haskell
On Wed, Mar 24, 2010 at 3:57 PM, David Leimbach <leimy2k@gmail.com> wrote:
Well I think I can never figure out what it is I can actually do with Yi once it's installed. Editing keys are nice, but doe it let me build modules or jump in and out of ghci?
I'm not sure how mature Scion is now, but the integration should provide for a lot of smart integration with GHC like that. If I remember correctly, it should be possible to, right now, query functions for their types smartly (i.e. actually running through GHC), but also do a lot of stuff with the parser, like automatically dollarify function calls (f x => f $ x, but using the fairly smart parser).
It's difficult at best to use tools with no manual.
I absolutely agree and issue #253 [1] would take us a long ways in the right direction. [1] http://code.google.com/p/yi-editor/issues/detail?id=253 -- Jeff Wheeler Undergraduate, Electrical Engineering University of Illinois at Urbana-Champaign
participants (3)
-
Colin Paul Adams -
David Leimbach -
Jeff Wheeler