Re: [Haskell-cafe] RE: [Haskell] Announce: Yi 0.3

2008-01-31 Thread gwern0
On 2008.01.31 16:27:05 -, "Bayley, Alistair" <[EMAIL PROTECTED]> scribbled 
0.7K characters:
> > From: Thomas Schilling [mailto:[EMAIL PROTECTED]
> > >
> > > 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


pgp2Lrz8crikg.pgp
Description: PGP signature
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: [Haskell-cafe] RE: [Haskell] Announce: Yi 0.3

2008-01-31 Thread Peter Verswyvelen
Is YI also an IDE for creating Haskell code? I guess it's not, it's "just" a 
text editor right?

I mean, if it talks to GHC directly, it could neatly take over some tricks used 
in Visual Haskell (on the fly type inference, good completion, etc), only much 
much easier (without the COM layer, directly in Haskell).




___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


RE: [Haskell-cafe] RE: [Haskell] Announce: Yi 0.3

2008-01-31 Thread Bayley, Alistair
> From: Thomas Schilling [mailto:[EMAIL PROTECTED] 
> > 
> > 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.
*

___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: [Haskell-cafe] RE: [Haskell] Announce: Yi 0.3

2008-01-31 Thread Thomas Schilling
On Thu, 2008-01-31 at 15:23 +, Bayley, Alistair wrote:
> > From: [EMAIL PROTECTED] 
> > [mailto:[EMAIL PROTECTED] 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? ;-)

___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe