Re: [Haskell-cafe] Leksah works!

2009-07-23 Thread jutaro

This is a problem with the version of an installed gtk lib. gtk2hs does
conditional compilation,
and adds some procedures, when a specific version of the lib is present. 
You have to install gtksourceview2 in a version > 2.4.0.

I wanted to add a patch for backward compatibiliy to the new 0.6 release,
but it is still missing and I have absolutely no time the next weeks.

Jürgen
 
 

Victor Nazarov-2 wrote:
> 
> On Wed, Jul 1, 2009 at 1:41 AM, david48 wrote:
>>
>> I've build leksah from a fresh darcs get, ghc is 6.10.3 with the packages
>> :
>>
>> da...@whizz:~/leksah$ ghc-pkg list
>> /usr/local/lib/ghc-6.10.3/./package.conf:
>>    Cabal-1.6.0.3, GLUT-2.1.1.2, HTTP-4000.0.6, HUnit-1.2.0.3,
>>    OpenGL-2.2.1.1, QuickCheck-1.2.0.0, array-0.2.0.0, base-3.0.3.1,
>>    base-4.1.0.0, binary-0.5.0.1, bytestring-0.9.1.4, cairo-0.10.1,
>>    cgi-3001.1.7.1, containers-0.2.0.1, directory-1.0.0.3,
>>    (dph-base-0.3), (dph-par-0.3), (dph-prim-interface-0.3),
>>    (dph-prim-par-0.3), (dph-prim-seq-0.3), (dph-seq-0.3),
>>    editline-0.2.1.0, extensible-exceptions-0.1.1.0, fgl-5.4.2.2,
>>    filepath-1.1.0.2, (ghc-6.10.3), ghc-prim-0.1.0.0, gio-0.10.1,
>>    glade-0.10.1, glib-0.10.1, gtk-0.10.1, gtkglext-0.10.1,
>>    gtksourceview2-0.10.1, haddock-2.4.2, haskell-platform-2009.2.0.1,
>>    haskell-src-1.0.1.3, haskell98-1.0.1.0, hpc-0.5.0.3, html-1.0.1.2,
>>    integer-0.1.0.1, mtl-1.1.0.2, network-2.2.1, network-2.2.1.1,
>>    old-locale-1.0.0.1, old-time-1.0.0.2, packedstring-0.1.0.1,
>>    parallel-1.1.0.1, parsec-2.1.0.1, pretty-1.0.1.0, process-1.0.1.1,
>>    random-1.0.0.1, regex-base-0.72.0.2, regex-compat-0.71.0.1,
>>    regex-posix-0.72.0.3, rts-1.0, soegtk-0.10.1, stm-2.1.1.2,
>>    svgcairo-0.10.1, syb-0.1.0.1, template-haskell-2.3.0.1,
>>    time-1.1.2.4, time-1.1.3, unix-2.3.2.0, utf8-string-0.3.5,
>>    xhtml-3000.2.0.1, zlib-0.5.0.0
>> da...@whizz:~/leksah$
>>
>>
>> The OS is Kubuntu Jaunty (9.04) and GTK comes from the Jaunty
>> repositories.
>>
> I can't build leksah: I've got:
> 
> src/IDE/Completion.hs:99:26-59:
> Not in scope: `sourceLanguageManagerGuessLanguage'
> cabal: Error: some packages failed to install:
> leksah-0.6.1 failed during the building phase. The exception was:
> exit: ExitFailure 1
> 
> I have:
> $ ghc -V
> The Glorious Glasgow Haskell Compilation System, version 6.10.4
> 
> $ ghc-pkg list
> /usr/local/lib/ghc-6.10.4/./package.conf:
> Cabal-1.6.0.1, Cabal-1.6.0.3, HTTP-4000.0.7, HUnit-1.2.0.3,
> QuickCheck-1.2.0.0, array-0.2.0.0, base-3.0.3.1, base-4.1.0.0,
> binary-0.5.0.1, bytestring-0.9.1.4, cairo-0.10.1,
> containers-0.2.0.1, directory-1.0.0.3, (dph-base-0.3),
> (dph-par-0.3), (dph-prim-interface-0.3), (dph-prim-par-0.3),
> (dph-prim-seq-0.3), (dph-seq-0.3), extensible-exceptions-0.1.1.0,
> filepath-1.1.0.2, gconf-0.10.1, (ghc-6.10.4), ghc-prim-0.1.0.0,
> gio-0.10.1, glade-0.10.1, glib-0.10.1, gnomevfs-0.10.1,
> gstreamer-0.10.1, gtk-0.10.1, gtkglext-0.10.1,
> gtksourceview2-0.10.1, haddock-2.4.2, haskell-src-1.0.1.3,
> haskell98-1.0.1.0, hpc-0.5.0.3, html-1.0.1.2, integer-0.1.0.1,
> mtl-1.1.0.2, network-2.2.1.2, old-locale-1.0.0.1, old-time-1.0.0.2,
> packedstring-0.1.0.1, parallel-1.1.0.1, parsec-2.1.0.1,
> pretty-1.0.1.0, process-1.0.1.1, random-1.0.0.1,
> regex-base-0.72.0.2, regex-compat-0.71.0.1, regex-posix-0.72.0.3,
> rts-1.0, soegtk-0.10.1, stm-2.1.1.2, svgcairo-0.10.1, syb-0.1.0.1,
> template-haskell-2.3.0.1, time-1.1.4, unix-2.3.2.0,
> utf8-string-0.3.5, xhtml-3000.2.0.1, zlib-0.5.2.0
> /home/vir/.ghc/i386-linux-6.10.4/package.conf:
> Cabal-1.6.0.1, Cabal-1.6.0.3, binary-0.5.0.1, utf8-string-0.3.5
> 
> 
> --
> Victor Nazarov
> ___
> Haskell-Cafe mailing list
> Haskell-Cafe@haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Leksah-works%21-tp24266240p24632147.html
Sent from the Haskell - Haskell-Cafe mailing list archive at Nabble.com.

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


Re: [Haskell-cafe] Leksah works!

2009-07-23 Thread Victor Nazarov
On Wed, Jul 1, 2009 at 1:41 AM, david48 wrote:
>
> I've build leksah from a fresh darcs get, ghc is 6.10.3 with the packages :
>
> da...@whizz:~/leksah$ ghc-pkg list
> /usr/local/lib/ghc-6.10.3/./package.conf:
>    Cabal-1.6.0.3, GLUT-2.1.1.2, HTTP-4000.0.6, HUnit-1.2.0.3,
>    OpenGL-2.2.1.1, QuickCheck-1.2.0.0, array-0.2.0.0, base-3.0.3.1,
>    base-4.1.0.0, binary-0.5.0.1, bytestring-0.9.1.4, cairo-0.10.1,
>    cgi-3001.1.7.1, containers-0.2.0.1, directory-1.0.0.3,
>    (dph-base-0.3), (dph-par-0.3), (dph-prim-interface-0.3),
>    (dph-prim-par-0.3), (dph-prim-seq-0.3), (dph-seq-0.3),
>    editline-0.2.1.0, extensible-exceptions-0.1.1.0, fgl-5.4.2.2,
>    filepath-1.1.0.2, (ghc-6.10.3), ghc-prim-0.1.0.0, gio-0.10.1,
>    glade-0.10.1, glib-0.10.1, gtk-0.10.1, gtkglext-0.10.1,
>    gtksourceview2-0.10.1, haddock-2.4.2, haskell-platform-2009.2.0.1,
>    haskell-src-1.0.1.3, haskell98-1.0.1.0, hpc-0.5.0.3, html-1.0.1.2,
>    integer-0.1.0.1, mtl-1.1.0.2, network-2.2.1, network-2.2.1.1,
>    old-locale-1.0.0.1, old-time-1.0.0.2, packedstring-0.1.0.1,
>    parallel-1.1.0.1, parsec-2.1.0.1, pretty-1.0.1.0, process-1.0.1.1,
>    random-1.0.0.1, regex-base-0.72.0.2, regex-compat-0.71.0.1,
>    regex-posix-0.72.0.3, rts-1.0, soegtk-0.10.1, stm-2.1.1.2,
>    svgcairo-0.10.1, syb-0.1.0.1, template-haskell-2.3.0.1,
>    time-1.1.2.4, time-1.1.3, unix-2.3.2.0, utf8-string-0.3.5,
>    xhtml-3000.2.0.1, zlib-0.5.0.0
> da...@whizz:~/leksah$
>
>
> The OS is Kubuntu Jaunty (9.04) and GTK comes from the Jaunty repositories.
>
I can't build leksah: I've got:

src/IDE/Completion.hs:99:26-59:
Not in scope: `sourceLanguageManagerGuessLanguage'
cabal: Error: some packages failed to install:
leksah-0.6.1 failed during the building phase. The exception was:
exit: ExitFailure 1

I have:
$ ghc -V
The Glorious Glasgow Haskell Compilation System, version 6.10.4

$ ghc-pkg list
/usr/local/lib/ghc-6.10.4/./package.conf:
Cabal-1.6.0.1, Cabal-1.6.0.3, HTTP-4000.0.7, HUnit-1.2.0.3,
QuickCheck-1.2.0.0, array-0.2.0.0, base-3.0.3.1, base-4.1.0.0,
binary-0.5.0.1, bytestring-0.9.1.4, cairo-0.10.1,
containers-0.2.0.1, directory-1.0.0.3, (dph-base-0.3),
(dph-par-0.3), (dph-prim-interface-0.3), (dph-prim-par-0.3),
(dph-prim-seq-0.3), (dph-seq-0.3), extensible-exceptions-0.1.1.0,
filepath-1.1.0.2, gconf-0.10.1, (ghc-6.10.4), ghc-prim-0.1.0.0,
gio-0.10.1, glade-0.10.1, glib-0.10.1, gnomevfs-0.10.1,
gstreamer-0.10.1, gtk-0.10.1, gtkglext-0.10.1,
gtksourceview2-0.10.1, haddock-2.4.2, haskell-src-1.0.1.3,
haskell98-1.0.1.0, hpc-0.5.0.3, html-1.0.1.2, integer-0.1.0.1,
mtl-1.1.0.2, network-2.2.1.2, old-locale-1.0.0.1, old-time-1.0.0.2,
packedstring-0.1.0.1, parallel-1.1.0.1, parsec-2.1.0.1,
pretty-1.0.1.0, process-1.0.1.1, random-1.0.0.1,
regex-base-0.72.0.2, regex-compat-0.71.0.1, regex-posix-0.72.0.3,
rts-1.0, soegtk-0.10.1, stm-2.1.1.2, svgcairo-0.10.1, syb-0.1.0.1,
template-haskell-2.3.0.1, time-1.1.4, unix-2.3.2.0,
utf8-string-0.3.5, xhtml-3000.2.0.1, zlib-0.5.2.0
/home/vir/.ghc/i386-linux-6.10.4/package.conf:
Cabal-1.6.0.1, Cabal-1.6.0.3, binary-0.5.0.1, utf8-string-0.3.5


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


Re: [Haskell-cafe] Leksah works!

2009-07-01 Thread Max Cantor

I emphatically second this..  (except for using vim instead of emacs)

-Max


On Jul 1, 2009, at 12:03 AM, David Leimbach wrote:

I would love to have a standalone Mac OS X compatible build to try.   
As it stands, I have not been successful getting a Cocoa/Carbon GTK  
running on Leopard, and can't afford the time to fight with making  
it work.


I too typically use Emacs, but also like to use Yi once in a while  
as well.


Dave

On Tue, Jun 30, 2009 at 7:28 AM, jutaro  wrote:

As Leksah developer I approve your comment.

Even better we will soon have a new release that integrates GHCi and a
!visual debugger! plus other useful features like much enhanced text  
search
with regex and grep and enhanced GUI framework with a tentative  
support
for multiple screens. So stay tuned and we appreciate help of any  
kind.


Jürgen


jkff wrote:
>
> Hi.
> Quite a while ago I launched Leksah and couldn't get anything done  
at

> all; so I thought it is probably never be completed and abandoned
> attempts to find an IDE for Haskell.
>
> However, 3 days ago I launched the new version and it works  
fantastic!
> It has an IntelliSense popup with type annotations, a module  
browser,

> build-on-the-fly and other things, even though I used it only for 15
> minutes (then the ICFP contest began, where I wrote in Python and
> Java).
>
> Main point: It seems a vastly more convenient IDE for Haskell than  
vim

> (don't know about emacs-mode).
>
> So, I'd like to encourage haskellers to install it and give it a  
try :)

>
> --
> Eugene Kirpichov
> Web IR developer, market.yandex.ru
> ___
> Haskell-Cafe mailing list
> Haskell-Cafe@haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe
>
>

--
View this message in context: 
http://www.nabble.com/Leksah-works%21-tp24266240p24272909.html
Sent from the Haskell - Haskell-Cafe mailing list archive at  
Nabble.com.


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

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


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


Re: [Haskell-cafe] Leksah works!

2009-06-30 Thread jutaro

Hi David,


david48 wrote:
> 
> 
> I would love to try leksah, but on my machine there a weird bug: I
> can't type a space. When I press the space bar, nothing happens.( it
> writes "CTRL-Space : Start complete" at the bottom though)
> 
> ...

Thats indeed strange, as we use standard gtk handling for simple keystrokes.
Have
you expeienced problems with the keyboard with other gtk apps like gedit?
You can take out the line :
space →   StartComplete   "Initiate complete in a
source buffer"
from the leksah keymap file, but the question remains why a control is send,
when you
simply type a space? 

When I look on my Ubuntu machine under 
"System/Settings/Keyboard" their are some settings which translates like (I
have a german 
installation) "Ctrl key position: Make CapsLock an additional Ctrl" and a
bunch of other options. 
Can you investigate in this direction if you have some special settings on
your machine, 
as it is a new phenomena for Leksah.

Jürgen


-- 
View this message in context: 
http://www.nabble.com/Leksah-works%21-tp24266240p24280921.html
Sent from the Haskell - Haskell-Cafe mailing list archive at Nabble.com.

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


Re: [Haskell-cafe] Leksah works!

2009-06-30 Thread david48
On Tue, Jun 30, 2009 at 4:28 PM, jutaro wrote:
>
> As Leksah developer I approve your comment.
>
> Even better we will soon have a new release that integrates GHCi and a
> !visual debugger! plus other useful features like much enhanced text search
> with regex and grep and enhanced GUI framework with a tentative support
> for multiple screens. So stay tuned and we appreciate help of any kind.

I would love to try leksah, but on my machine there a weird bug: I
can't type a space. When I press the space bar, nothing happens.( it
writes "CTRL-Space : Start complete" at the bottom though)

I've build leksah from a fresh darcs get, ghc is 6.10.3 with the packages :

da...@whizz:~/leksah$ ghc-pkg list
/usr/local/lib/ghc-6.10.3/./package.conf:
Cabal-1.6.0.3, GLUT-2.1.1.2, HTTP-4000.0.6, HUnit-1.2.0.3,
OpenGL-2.2.1.1, QuickCheck-1.2.0.0, array-0.2.0.0, base-3.0.3.1,
base-4.1.0.0, binary-0.5.0.1, bytestring-0.9.1.4, cairo-0.10.1,
cgi-3001.1.7.1, containers-0.2.0.1, directory-1.0.0.3,
(dph-base-0.3), (dph-par-0.3), (dph-prim-interface-0.3),
(dph-prim-par-0.3), (dph-prim-seq-0.3), (dph-seq-0.3),
editline-0.2.1.0, extensible-exceptions-0.1.1.0, fgl-5.4.2.2,
filepath-1.1.0.2, (ghc-6.10.3), ghc-prim-0.1.0.0, gio-0.10.1,
glade-0.10.1, glib-0.10.1, gtk-0.10.1, gtkglext-0.10.1,
gtksourceview2-0.10.1, haddock-2.4.2, haskell-platform-2009.2.0.1,
haskell-src-1.0.1.3, haskell98-1.0.1.0, hpc-0.5.0.3, html-1.0.1.2,
integer-0.1.0.1, mtl-1.1.0.2, network-2.2.1, network-2.2.1.1,
old-locale-1.0.0.1, old-time-1.0.0.2, packedstring-0.1.0.1,
parallel-1.1.0.1, parsec-2.1.0.1, pretty-1.0.1.0, process-1.0.1.1,
random-1.0.0.1, regex-base-0.72.0.2, regex-compat-0.71.0.1,
regex-posix-0.72.0.3, rts-1.0, soegtk-0.10.1, stm-2.1.1.2,
svgcairo-0.10.1, syb-0.1.0.1, template-haskell-2.3.0.1,
time-1.1.2.4, time-1.1.3, unix-2.3.2.0, utf8-string-0.3.5,
xhtml-3000.2.0.1, zlib-0.5.0.0
da...@whizz:~/leksah$


The OS is Kubuntu Jaunty (9.04) and GTK comes from the Jaunty repositories.

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


Re: [Haskell-cafe] Leksah works!

2009-06-30 Thread David Leimbach
I would love to have a standalone Mac OS X compatible build to try.  As it
stands, I have not been successful getting a Cocoa/Carbon GTK running on
Leopard, and can't afford the time to fight with making it work.
I too typically use Emacs, but also like to use Yi once in a while as well.

Dave

On Tue, Jun 30, 2009 at 7:28 AM, jutaro  wrote:

>
> As Leksah developer I approve your comment.
>
> Even better we will soon have a new release that integrates GHCi and a
> !visual debugger! plus other useful features like much enhanced text search
> with regex and grep and enhanced GUI framework with a tentative support
> for multiple screens. So stay tuned and we appreciate help of any kind.
>
> Jürgen
>
>
> jkff wrote:
> >
> > Hi.
> > Quite a while ago I launched Leksah and couldn't get anything done at
> > all; so I thought it is probably never be completed and abandoned
> > attempts to find an IDE for Haskell.
> >
> > However, 3 days ago I launched the new version and it works fantastic!
> > It has an IntelliSense popup with type annotations, a module browser,
> > build-on-the-fly and other things, even though I used it only for 15
> > minutes (then the ICFP contest began, where I wrote in Python and
> > Java).
> >
> > Main point: It seems a vastly more convenient IDE for Haskell than vim
> > (don't know about emacs-mode).
> >
> > So, I'd like to encourage haskellers to install it and give it a try :)
> >
> > --
> > Eugene Kirpichov
> > Web IR developer, market.yandex.ru
> > ___
> > Haskell-Cafe mailing list
> > Haskell-Cafe@haskell.org
> > http://www.haskell.org/mailman/listinfo/haskell-cafe
> >
> >
>
> --
> View this message in context:
> http://www.nabble.com/Leksah-works%21-tp24266240p24272909.html
> Sent from the Haskell - Haskell-Cafe mailing list archive at Nabble.com.
>
> ___
> Haskell-Cafe mailing list
> Haskell-Cafe@haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe
>
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: [Haskell-cafe] Leksah works!

2009-06-30 Thread jutaro

As Leksah developer I approve your comment.

Even better we will soon have a new release that integrates GHCi and a 
!visual debugger! plus other useful features like much enhanced text search
with regex and grep and enhanced GUI framework with a tentative support 
for multiple screens. So stay tuned and we appreciate help of any kind.

Jürgen   


jkff wrote:
> 
> Hi.
> Quite a while ago I launched Leksah and couldn't get anything done at
> all; so I thought it is probably never be completed and abandoned
> attempts to find an IDE for Haskell.
> 
> However, 3 days ago I launched the new version and it works fantastic!
> It has an IntelliSense popup with type annotations, a module browser,
> build-on-the-fly and other things, even though I used it only for 15
> minutes (then the ICFP contest began, where I wrote in Python and
> Java).
> 
> Main point: It seems a vastly more convenient IDE for Haskell than vim
> (don't know about emacs-mode).
> 
> So, I'd like to encourage haskellers to install it and give it a try :)
> 
> -- 
> Eugene Kirpichov
> Web IR developer, market.yandex.ru
> ___
> Haskell-Cafe mailing list
> Haskell-Cafe@haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Leksah-works%21-tp24266240p24272909.html
Sent from the Haskell - Haskell-Cafe mailing list archive at Nabble.com.

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


Re: [Haskell-cafe] Leksah works!

2009-06-30 Thread Hemanth Kapila
Hi,

Thanks for the update. I just tried it and it is quite cool.Atlhough I am
too addicted to emacs and can't imagine leaving it (at least before hIDE),
I still think leksah is quite useful.

Thanks again



On Tue, Jun 30, 2009 at 10:45 AM, Eugene Kirpichov wrote:

> Hi.
> Quite a while ago I launched Leksah and couldn't get anything done at
> all; so I thought it is probably never be completed and abandoned
> attempts to find an IDE for Haskell.
>
> However, 3 days ago I launched the new version and it works fantastic!
> It has an IntelliSense popup with type annotations, a module browser,
> build-on-the-fly and other things, even though I used it only for 15
> minutes (then the ICFP contest began, where I wrote in Python and
> Java).
>
> Main point: It seems a vastly more convenient IDE for Haskell than vim
> (don't know about emacs-mode).
>
> So, I'd like to encourage haskellers to install it and give it a try :)
>
> --
> Eugene Kirpichov
> Web IR developer, market.yandex.ru
> ___
> Haskell-Cafe mailing list
> Haskell-Cafe@haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe
>
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


[Haskell-cafe] Leksah works!

2009-06-29 Thread Eugene Kirpichov
Hi.
Quite a while ago I launched Leksah and couldn't get anything done at
all; so I thought it is probably never be completed and abandoned
attempts to find an IDE for Haskell.

However, 3 days ago I launched the new version and it works fantastic!
It has an IntelliSense popup with type annotations, a module browser,
build-on-the-fly and other things, even though I used it only for 15
minutes (then the ICFP contest began, where I wrote in Python and
Java).

Main point: It seems a vastly more convenient IDE for Haskell than vim
(don't know about emacs-mode).

So, I'd like to encourage haskellers to install it and give it a try :)

-- 
Eugene Kirpichov
Web IR developer, market.yandex.ru
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe