RE: [Haskell] Announce: Yi 0.3

From: haskell-bounces@haskell.org [mailto:haskell-bounces@haskell.org] On Behalf Of Jean-Philippe Bernardy
* homepage: http://haskell.org/haskellwiki/Yi
Took a quick look around and saw this: * GTK frontend works in Win32 So Yi works on Windows? hs-plugins was broken for Windows for a while, so I'm wondering if this has been fixed too. Does Yi use hs-plugins, or does it go straight down to ghc? (looking at the yi.cabal file seems to indicate no dependency on hs-plugins) Alistair ***************************************************************** Confidentiality Note: The information contained in this message, and any attachments, may contain confidential and/or privileged material. It is intended solely for the person(s) or entity to which it is addressed. Any review, retransmission, dissemination, or taking of any action in reliance upon this information by persons or entities other than the intended recipient(s) is prohibited. If you received this in error, please contact the sender and delete the material from any computer. *****************************************************************

On Thu, 2008-01-31 at 15:23 +0000, Bayley, Alistair wrote:
From: haskell-bounces@haskell.org [mailto:haskell-bounces@haskell.org] On Behalf Of Jean-Philippe Bernardy
* homepage: http://haskell.org/haskellwiki/Yi
Took a quick look around and saw this: * GTK frontend works in Win32
So Yi works on Windows? hs-plugins was broken for Windows for a while, so I'm wondering if this has been fixed too. Does Yi use hs-plugins, or does it go straight down to ghc? (looking at the yi.cabal file seems to indicate no dependency on hs-plugins)
Correct. Does that mean you volunteer and report any problems of running Yi on Windows? ;-)

From: Thomas Schilling [mailto:nominolo@googlemail.com]
So Yi works on Windows? hs-plugins was broken for Windows
for a while,
so I'm wondering if this has been fixed too. Does Yi use hs-plugins, or does it go straight down to ghc? (looking at the yi.cabal file seems to indicate no dependency on hs-plugins)
Correct.
Does that mean you volunteer and report any problems of running Yi on Windows? ;-)
I'd love to, but JP has just indicated (privately) that it's broken on Windows, for other reasons. I was trying to establish whether it was worth my time to attempt to download Yi and GTK2HS and build them. Alistair ***************************************************************** Confidentiality Note: The information contained in this message, and any attachments, may contain confidential and/or privileged material. It is intended solely for the person(s) or entity to which it is addressed. Any review, retransmission, dissemination, or taking of any action in reliance upon this information by persons or entities other than the intended recipient(s) is prohibited. If you received this in error, please contact the sender and delete the material from any computer. *****************************************************************

On 2008.01.31 16:27:05 -0000, "Bayley, Alistair"
From: Thomas Schilling [mailto:nominolo@googlemail.com]
So Yi works on Windows? hs-plugins was broken for Windows
for a while,
so I'm wondering if this has been fixed too. Does Yi use hs-plugins, or does it go straight down to ghc? (looking at the yi.cabal file seems to indicate no dependency on hs-plugins)
Correct.
Does that mean you volunteer and report any problems of running Yi on Windows? ;-)
I'd love to, but JP has just indicated (privately) that it's broken on Windows, for other reasons.
I was trying to establish whether it was worth my time to attempt to download Yi and GTK2HS and build them.
Alistair
It probably isn't your time, but I think it's doable. If you grep for .Posix, you see:
Yi/Dired.hs:import System.Posix.Files Yi/Dired.hs:import System.Posix.Types Yi/Dired.hs:import System.Posix.User Yi/Dired.hs:import Text.Regex.Posix Yi/UI/Vty.hs:import System.Posix.Signals ( raiseSignal, sigTSTP ) Yi/Search.hs:import Text.Regex.Posix.String ( Regex, compExtended, > compIgnoreCase, compNewline, compile, execBlank ) Yi/Buffer/Implementation.hs:import Text.Regex.Posix Yi/Eval.hs:import Text.Regex.Posix Yi/MkTemp.hs:import qualified System.Posix.Internals ( c_getpid ) Yi/MkTemp.hs: System.Posix.Directory.createDirectory dir ownerModes Yi/MkTemp.hs:getProcessID = System.Posix.Internals.c_getpid >>= return . > fromIntegral Yi/Editor.hs:import Text.Regex.Posix.Wrap ( Regex ) Yi/Buffer.hs:import Text.Regex.Posix.Wrap (Regex)
All the mentions Text.Regex.Posix is not a problem, as regex-posix doesn't depend on the 'unix' package so far as I know. If you wanted to, you could quietly remove Dired.hs, which would remove its dependencies on System.Posix.*, and the same goes for VTY.hs (not that you'd really want that on Windows anyway). MkTemp is built, but I don't believe it's actually used by anything (maybe Dired?). And that would be it, so far as I know. But all that would be a lot of work, and Yi isn't mind-blowingly good, if you follow me. -- gwern Recon tors EOD MSNBC K3 NB Spoke MITM Crust filofax
participants (3)
-
Bayley, Alistair
-
gwern0@gmail.com
-
Thomas Schilling