Re: [Haskell-cafe] Haskell Platform and Leksah on Windows

2013-08-09 Thread Hamish Mackenzie
On 9 Aug 2013, at 06:43, Vagif Verdi vagif.ve...@gmail.com wrote:

 Leksah is a linux program intented to run on linux.

No, it is also intended to run on OS X and Windows.

 You can (in some cases) successfully install and run it on windows, but you 
 would need to go through certain steps installing some unrelated to windows 
 software (gtk etc)

No, there are no steps needed to install Gtk to run Leksah (the DLLs are 
included in the Leksah installer).  You really only need to install the Haskell 
Platform and Leksah.  If you want the grep feature to work you will need grep 
in your PATH.

 I would recommend leksah maintainers to change the language on their website 
 to prevent future problems like this.

We have prebuilt Windows installers that bundle everything you need to run 
Leksah.
http://www.leksah.org/download.html

If your GHC compiler is not listed there you can try out one of the development 
releases (0.13.2.4 is current).  This version includes Gtk3 and some WebKit 
based features.
https://groups.google.com/forum/#!topic/leksah/7A4gr8iem5c

While it is true that it is currently hard to install Gtk for dev purposes on 
Windows, it is easy to install Leksah.

Hamish


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


Re: [Haskell-cafe] Haskell Platform and Leksah on Windows

2013-08-09 Thread Hamish Mackenzie

On 9 Aug 2013, at 07:58, Gregory Weber gdwe...@iue.edu wrote:

 GTK and its (non-Haskell) dependencies seem to be the tricky part.
 I found the instructions for installing Gtk2hs on Windows
 
http://www.haskell.org/haskellwiki/Gtk2Hs/Installation#Windows
 
 a bit sketchy, so wrote a blog post with more detailed instructions:
 

 http://spottedmetal.blogspot.com/2013/07/setting-up-haskell-gtk-development.html
 
 I normally work with Linux; Windows experts could probably
 make some improvements in my procedures.

To install Gtk 3 on Windows I installed a Fedora VM and set it up
to cross compile windows Gtk 3 apps.  This is actually much easier
than installing on Gtk 3 on windows.  Fedora and OpenSUSE have
mingw32 rpms for all your windows needs.  They even include stuff
like WebKit.

I then shared the DLLs and header files with my Windows machine
and installed Gtk2Hs using those.

If you would rather not go to the trouble of installing a VM,
then there is a python script in this article might help (I have
not tried it)...

http://stackoverflow.com/questions/6006689/where-can-i-download-precompiled-gtk-3-binaries-or-windows-installer

Next time I have to refresh my Windows build machine I will try
to document the process.

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


Re: [Haskell-cafe] Haskell Platform and Leksah on Windows

2013-08-09 Thread David Virebayre
Hi,

If you go the EclipseFP approach, you may have installations troubles
too. In my case, it was due to having a version of GHC and libraries
that EclipseFP doesn't like.

Once I got it to work,  I loved it.

David.


2013/8/8 Dorin Lazar dorin.la...@gmail.com:
 Hi,
 I understood what's wrong about my approach - and since I want to use
 an IDE to assist me, I will try both EclipseFP and Sublime Text, to
 see how that works. My feeling was that since the leksah website
 suggested that cabal is the way to do it and since when I search for a
 Haskell IDE that is it, then it was obvious that the recommended way
 doesn't work as it should. In my mind the platform was broken, I
 understand now that it's not the platform, just this special way of
 using it.

 I was also in awe of the fact that nobody really says anything about
 these difficulties, and felt like an estranged child that messed
 things up badly; however, it seems that the real issue is that nobody
 really does it that way, and I was wrong to actually try it like that.
 As I said (or haven't, but will) once I will get the hang of it I will
 recount my experience for others to follow, hopefully in better terms
 than this frustrating first experience.

 Many thanks for everyone's advice on the list,
   Dorin

 On Thu, Aug 8, 2013 at 9:48 PM, Carter Schonwald
 carter.schonw...@gmail.com wrote:
 Hey Dorin,
 I don't understand your claims.

 1) haskell has worked perfectly well on windows for quite some time. I used
 HUGs nearly a decade ago, and in more recent time (2-3 years ago) I helped
 teach an introductory first computer science class using GHC where many
 students were doing great work using notepad++ and ghci.

  I don't understand your focus on emacs and make files.

 2)  if you want an IDE experience, Sublime Text with the right plugins, or
 perhaps EclipseFP are worth checking out.

 3) likewise, if you're finding tooling on windows unsatisfactory, help fix
 it! Bug reports, patches, or new tools and libraries are always welcome.
 Haskell is a relatively small community, and thusly limited manpower (we're
 all volunteers), so way to fix any problem is help out!

 cheers


 On Thu, Aug 8, 2013 at 3:30 AM, Dorin Lazar dorin.la...@gmail.com wrote:

  Hello,
  I am the original author of the post, and I finally received the
 emails from the mailman (probably there was an issue with the
 automated requests).
   My answers are inlined.

  1) Leksah should not be considered an official haskell ide, but merely
  one of
  many community supported editing tools. And frankly one of the less
  widely
  used ones at that! Leksah is not used much at all by anyone, though
  theres
  probably a handful of folks who do use it.
   Many folks use editors like Sublime Tex (2/3), Emacs, Vi(m), textmate,
  and
  many more.  Its worth noting that the sublime-haskell plugin for sublime
  text, and analogous packages for many other editors, provide haskell
  IDE-like powers, or at least a nice subset thereof.
   Unfortunately, I think the problem with this is that we have a
 different vision on how development should be done. I have extensive
 experience of working from console, with a simple text editor and
 hand-made Makefiles or anything similar. However, an IDE should be a
 productivity tool, that can help you improve your understanding of the
 language, and can assist you in following the proper syntax for a new
 language. While learning by doing 'write, save, compile, examine error
 message' is ok with me, it is slow, and it limits the time I can
 dedicate to learning the language itself. A better cycle is the
 current 'write, examine error message' of most IDEs, since it's faster
 and requires no context switch. Sure, editors can help there. IDEs do
 this by default.
   So it's normal of me to search for an IDE to better learn the
 language, I'll leave the emacs + console version for when I am
 productive in the language.

  2) There are people working on building better easily portable native
  gui
  toolkits, but in many respects, a nice haskelly gui toolkit is still
  something people are experimetning with how to do well. theres lots of
  great
  tools out as of the past year or two, many more in progress on various
  time
  scales, and gtk2hs is great for linux (and thats fine).
   Unfortunately, this is not what's advertised. In fact, on the leksah
 site, the recommended method is to have the IDE installed via cabal.
 In another mail Mihai calls me unreasonable, but I think it's
 reasonable to think that the recommended method should be the one that
 works.
   But the easy to tell truth is that the Haskell Platform for Windows
 is not mature enough yet. That is something I can understand, and I
 can recommend other beginners to install a Linux VM for Haskell. That
 is perfectly fine, zero cost, 100% gain. However, the mistakes from
 the Haskell Platform as it is now on Windows should be pointed out,
 and although I've been called a mystical animal that 

Re: [Haskell-cafe] Haskell Platform and Leksah on Windows

2013-08-09 Thread Alberto G. Corona
For those who want to be productive rather than  talkative masoquists (thus
said with all my love ;)), there are windows installers for Leksah and they
work perfectly well.


2013/8/9 David Virebayre dav.vire+hask...@gmail.com

 Hi,

 If you go the EclipseFP approach, you may have installations troubles
 too. In my case, it was due to having a version of GHC and libraries
 that EclipseFP doesn't like.

 Once I got it to work,  I loved it.

 David.


 2013/8/8 Dorin Lazar dorin.la...@gmail.com:
  Hi,
  I understood what's wrong about my approach - and since I want to use
  an IDE to assist me, I will try both EclipseFP and Sublime Text, to
  see how that works. My feeling was that since the leksah website
  suggested that cabal is the way to do it and since when I search for a
  Haskell IDE that is it, then it was obvious that the recommended way
  doesn't work as it should. In my mind the platform was broken, I
  understand now that it's not the platform, just this special way of
  using it.
 
  I was also in awe of the fact that nobody really says anything about
  these difficulties, and felt like an estranged child that messed
  things up badly; however, it seems that the real issue is that nobody
  really does it that way, and I was wrong to actually try it like that.
  As I said (or haven't, but will) once I will get the hang of it I will
  recount my experience for others to follow, hopefully in better terms
  than this frustrating first experience.
 
  Many thanks for everyone's advice on the list,
Dorin
 
  On Thu, Aug 8, 2013 at 9:48 PM, Carter Schonwald
  carter.schonw...@gmail.com wrote:
  Hey Dorin,
  I don't understand your claims.
 
  1) haskell has worked perfectly well on windows for quite some time. I
 used
  HUGs nearly a decade ago, and in more recent time (2-3 years ago) I
 helped
  teach an introductory first computer science class using GHC where many
  students were doing great work using notepad++ and ghci.
 
   I don't understand your focus on emacs and make files.
 
  2)  if you want an IDE experience, Sublime Text with the right
 plugins, or
  perhaps EclipseFP are worth checking out.
 
  3) likewise, if you're finding tooling on windows unsatisfactory, help
 fix
  it! Bug reports, patches, or new tools and libraries are always welcome.
  Haskell is a relatively small community, and thusly limited manpower
 (we're
  all volunteers), so way to fix any problem is help out!
 
  cheers
 
 
  On Thu, Aug 8, 2013 at 3:30 AM, Dorin Lazar dorin.la...@gmail.com
 wrote:
 
   Hello,
   I am the original author of the post, and I finally received the
  emails from the mailman (probably there was an issue with the
  automated requests).
My answers are inlined.
 
   1) Leksah should not be considered an official haskell ide, but
 merely
   one of
   many community supported editing tools. And frankly one of the less
   widely
   used ones at that! Leksah is not used much at all by anyone, though
   theres
   probably a handful of folks who do use it.
Many folks use editors like Sublime Tex (2/3), Emacs, Vi(m),
 textmate,
   and
   many more.  Its worth noting that the sublime-haskell plugin for
 sublime
   text, and analogous packages for many other editors, provide haskell
   IDE-like powers, or at least a nice subset thereof.
Unfortunately, I think the problem with this is that we have a
  different vision on how development should be done. I have extensive
  experience of working from console, with a simple text editor and
  hand-made Makefiles or anything similar. However, an IDE should be a
  productivity tool, that can help you improve your understanding of the
  language, and can assist you in following the proper syntax for a new
  language. While learning by doing 'write, save, compile, examine error
  message' is ok with me, it is slow, and it limits the time I can
  dedicate to learning the language itself. A better cycle is the
  current 'write, examine error message' of most IDEs, since it's faster
  and requires no context switch. Sure, editors can help there. IDEs do
  this by default.
So it's normal of me to search for an IDE to better learn the
  language, I'll leave the emacs + console version for when I am
  productive in the language.
 
   2) There are people working on building better easily portable native
   gui
   toolkits, but in many respects, a nice haskelly gui toolkit is still
   something people are experimetning with how to do well. theres lots
 of
   great
   tools out as of the past year or two, many more in progress on
 various
   time
   scales, and gtk2hs is great for linux (and thats fine).
Unfortunately, this is not what's advertised. In fact, on the leksah
  site, the recommended method is to have the IDE installed via cabal.
  In another mail Mihai calls me unreasonable, but I think it's
  reasonable to think that the recommended method should be the one that
  works.
But the easy to tell truth is that the Haskell Platform for 

Re: [Haskell-cafe] Haskell Platform and Leksah on Windows

2013-08-08 Thread Manuel Gómez
On Wed, Aug 7, 2013 at 12:48 AM, Mihai Maruseac
mihai.marus...@gmail.com wrote:
 Hello,

 A friend of mine tried to install Haskell Platform and Leksah on
 Windows and was troubled by the amount of problems he encountered as a
 beginner in this. I've told him to ask over IRC and mailing list but
 it seems he has some problems with registration.

 Anyway, he blogged about his problems at
 http://dorinlazar.ro/haskell-platform-windows-crippled/ and I'm sure
 that we can work on fixing some of them.

I don’t agree with too many of its conclusions and its description of
Cabal is perhaps not up to date with current idioms and recommended
practice —it was, after all, written three years ago—, but this
article[1] did help me understand the relevant issues when I had
similar thoughts.  Specifically, I don’t think it’s a good idea to
rely on the distribution’s package manager for Haskell packages
—mostly a non‐issue in Windows, of course—, so I would disregard that
suggestion; many good reasons for this are spelled out in great detail
in Albert Lai’s SICP[2].

I have no doubt that the complexity of these issues discourages
beginners unfamiliar with Haskell development, having gone through
this myself, but these really are difficult problems with no generally
accepted ideal solution.  Other development environments will happily
install packages with a much higher probability of breaking at
runtime, and the general doctrine of static correctness guarantees
espoused by this community brings only as much complexity as it does
reliability.  A tradeoff, as everything, with the unfortunate
consequence, as always, of bringing discomfort to beginners.  “Avoid
success at all costs”, was it?

[1]: 
http://ivanmiljenovic.wordpress.com/2010/03/15/repeat-after-me-cabal-is-not-a-package-manager/
[2]: http://www.vex.net/~trebla/haskell/sicp.xhtml

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


Re: [Haskell-cafe] Haskell Platform and Leksah on Windows

2013-08-08 Thread Vagif Verdi
While your friend is wrong to blame haskell on his leksah installation 
problems i think the culprit here is the leksah web site.
It misinforms users saying that leksah runs on windows. It's like Blizzard 
saying Diablo 3 runs on linux because there are reports of linux users 
successfully running Diablo 3 with wine and some winetricks wodoo.

Leksah is a linux program intented to run on linux. You can (in some cases) 
successfully install and run it on windows, but you would need to go 
through certain steps installing some unrelated to windows software (gtk 
etc)

I would recommend leksah maintainers to change the language on their 
website to prevent future problems like this.

Currently the only more or less full featured haskell IDEs legitimately 
running on windows are EclipseFP and perhaps abandoned VS plugin.

On Tuesday, August 6, 2013 10:18:51 PM UTC-7, Mihai Maruseac wrote:

 Hello, 

 A friend of mine tried to install Haskell Platform and Leksah on 
 Windows and was troubled by the amount of problems he encountered as a 
 beginner in this. I've told him to ask over IRC and mailing list but 
 it seems he has some problems with registration. 

 Anyway, he blogged about his problems at 
 http://dorinlazar.ro/haskell-platform-windows-crippled/ and I'm sure 
 that we can work on fixing some of them. 
 -- 
 MM 
 All we have to decide is what we do with the time that is given to us 

 ___ 
 Haskell-Cafe mailing list 
 haskel...@haskell.org javascript: 
 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] Haskell Platform and Leksah on Windows

2013-08-08 Thread Carter Schonwald
Hey Dorin,
I don't understand your claims.

1) haskell has worked perfectly well on windows for quite some time. I used
HUGs nearly a decade ago, and in more recent time (2-3 years ago) I helped
teach an introductory first computer science class using GHC where many
students were doing great work using notepad++ and ghci.

 I don't understand your focus on emacs and make files.

2)  if you want an IDE experience, Sublime Text with the right plugins,
or perhaps EclipseFP are worth checking out.

3) likewise, if you're finding tooling on windows unsatisfactory, help fix
it! Bug reports, patches, or new tools and libraries are always welcome.
Haskell is a relatively small community, and thusly limited manpower (we're
all volunteers), so way to fix any problem is help out!

cheers


On Thu, Aug 8, 2013 at 3:30 AM, Dorin Lazar dorin.la...@gmail.com wrote:

  Hello,
  I am the original author of the post, and I finally received the
 emails from the mailman (probably there was an issue with the
 automated requests).
   My answers are inlined.

  1) Leksah should not be considered an official haskell ide, but merely
 one of
  many community supported editing tools. And frankly one of the less
 widely
  used ones at that! Leksah is not used much at all by anyone, though
 theres
  probably a handful of folks who do use it.
   Many folks use editors like Sublime Tex (2/3), Emacs, Vi(m), textmate,
 and
  many more.  Its worth noting that the sublime-haskell plugin for sublime
  text, and analogous packages for many other editors, provide haskell
  IDE-like powers, or at least a nice subset thereof.
   Unfortunately, I think the problem with this is that we have a
 different vision on how development should be done. I have extensive
 experience of working from console, with a simple text editor and
 hand-made Makefiles or anything similar. However, an IDE should be a
 productivity tool, that can help you improve your understanding of the
 language, and can assist you in following the proper syntax for a new
 language. While learning by doing 'write, save, compile, examine error
 message' is ok with me, it is slow, and it limits the time I can
 dedicate to learning the language itself. A better cycle is the
 current 'write, examine error message' of most IDEs, since it's faster
 and requires no context switch. Sure, editors can help there. IDEs do
 this by default.
   So it's normal of me to search for an IDE to better learn the
 language, I'll leave the emacs + console version for when I am
 productive in the language.

  2) There are people working on building better easily portable native gui
  toolkits, but in many respects, a nice haskelly gui toolkit is still
  something people are experimetning with how to do well. theres lots of
 great
  tools out as of the past year or two, many more in progress on various
 time
  scales, and gtk2hs is great for linux (and thats fine).
   Unfortunately, this is not what's advertised. In fact, on the leksah
 site, the recommended method is to have the IDE installed via cabal.
 In another mail Mihai calls me unreasonable, but I think it's
 reasonable to think that the recommended method should be the one that
 works.
   But the easy to tell truth is that the Haskell Platform for Windows
 is not mature enough yet. That is something I can understand, and I
 can recommend other beginners to install a Linux VM for Haskell. That
 is perfectly fine, zero cost, 100% gain. However, the mistakes from
 the Haskell Platform as it is now on Windows should be pointed out,
 and although I've been called a mystical animal that wants only free
 support, I think what I had in that blog post was actually a bug
 report for the people that can actually add 1+1 to make 2 when it
 comes to the Haskell Platform for Windows. Surely, I was harsh. But
 that's the first experience of a beginner with Haskell, and I chose to
 contribute my experience to people more knowledgeable instead of
 shutting up and hiding the dust under the rug.

   Many thanks,
  Dorin

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


Re: [Haskell-cafe] Haskell Platform and Leksah on Windows

2013-08-08 Thread Dorin Lazar
Hi,
I understood what's wrong about my approach - and since I want to use
an IDE to assist me, I will try both EclipseFP and Sublime Text, to
see how that works. My feeling was that since the leksah website
suggested that cabal is the way to do it and since when I search for a
Haskell IDE that is it, then it was obvious that the recommended way
doesn't work as it should. In my mind the platform was broken, I
understand now that it's not the platform, just this special way of
using it.

I was also in awe of the fact that nobody really says anything about
these difficulties, and felt like an estranged child that messed
things up badly; however, it seems that the real issue is that nobody
really does it that way, and I was wrong to actually try it like that.
As I said (or haven't, but will) once I will get the hang of it I will
recount my experience for others to follow, hopefully in better terms
than this frustrating first experience.

Many thanks for everyone's advice on the list,
  Dorin

On Thu, Aug 8, 2013 at 9:48 PM, Carter Schonwald
carter.schonw...@gmail.com wrote:
 Hey Dorin,
 I don't understand your claims.

 1) haskell has worked perfectly well on windows for quite some time. I used
 HUGs nearly a decade ago, and in more recent time (2-3 years ago) I helped
 teach an introductory first computer science class using GHC where many
 students were doing great work using notepad++ and ghci.

  I don't understand your focus on emacs and make files.

 2)  if you want an IDE experience, Sublime Text with the right plugins, or
 perhaps EclipseFP are worth checking out.

 3) likewise, if you're finding tooling on windows unsatisfactory, help fix
 it! Bug reports, patches, or new tools and libraries are always welcome.
 Haskell is a relatively small community, and thusly limited manpower (we're
 all volunteers), so way to fix any problem is help out!

 cheers


 On Thu, Aug 8, 2013 at 3:30 AM, Dorin Lazar dorin.la...@gmail.com wrote:

  Hello,
  I am the original author of the post, and I finally received the
 emails from the mailman (probably there was an issue with the
 automated requests).
   My answers are inlined.

  1) Leksah should not be considered an official haskell ide, but merely
  one of
  many community supported editing tools. And frankly one of the less
  widely
  used ones at that! Leksah is not used much at all by anyone, though
  theres
  probably a handful of folks who do use it.
   Many folks use editors like Sublime Tex (2/3), Emacs, Vi(m), textmate,
  and
  many more.  Its worth noting that the sublime-haskell plugin for sublime
  text, and analogous packages for many other editors, provide haskell
  IDE-like powers, or at least a nice subset thereof.
   Unfortunately, I think the problem with this is that we have a
 different vision on how development should be done. I have extensive
 experience of working from console, with a simple text editor and
 hand-made Makefiles or anything similar. However, an IDE should be a
 productivity tool, that can help you improve your understanding of the
 language, and can assist you in following the proper syntax for a new
 language. While learning by doing 'write, save, compile, examine error
 message' is ok with me, it is slow, and it limits the time I can
 dedicate to learning the language itself. A better cycle is the
 current 'write, examine error message' of most IDEs, since it's faster
 and requires no context switch. Sure, editors can help there. IDEs do
 this by default.
   So it's normal of me to search for an IDE to better learn the
 language, I'll leave the emacs + console version for when I am
 productive in the language.

  2) There are people working on building better easily portable native
  gui
  toolkits, but in many respects, a nice haskelly gui toolkit is still
  something people are experimetning with how to do well. theres lots of
  great
  tools out as of the past year or two, many more in progress on various
  time
  scales, and gtk2hs is great for linux (and thats fine).
   Unfortunately, this is not what's advertised. In fact, on the leksah
 site, the recommended method is to have the IDE installed via cabal.
 In another mail Mihai calls me unreasonable, but I think it's
 reasonable to think that the recommended method should be the one that
 works.
   But the easy to tell truth is that the Haskell Platform for Windows
 is not mature enough yet. That is something I can understand, and I
 can recommend other beginners to install a Linux VM for Haskell. That
 is perfectly fine, zero cost, 100% gain. However, the mistakes from
 the Haskell Platform as it is now on Windows should be pointed out,
 and although I've been called a mystical animal that wants only free
 support, I think what I had in that blog post was actually a bug
 report for the people that can actually add 1+1 to make 2 when it
 comes to the Haskell Platform for Windows. Surely, I was harsh. But
 that's the first experience of a beginner with Haskell, and I 

Re: [Haskell-cafe] Haskell Platform and Leksah on Windows

2013-08-08 Thread Rogan Creswick
On Thu, Aug 8, 2013 at 11:58 AM, Dorin Lazar dorin.la...@gmail.com wrote:

 I was also in awe of the fact that nobody really says anything about
 these difficulties, and felt like an estranged child that messed
 things up badly; however, it seems that the real issue is that nobody
 really does it that way, and I was wrong to actually try it like that.


There's nothing wrong with trying that -- it's a very common temptation for
developers coming from other languages.  I use Eclipse extensively when
writing Java, for the reason's you've mentioned and I was dissapointed when
I couldn't find anything similar for Haskell, unfortunately, there still
just isn't such an IDE for Haskell yet.  Leskah, EclipseFP, FP Haskell
Center, etc... are starting points, but they are still lacking in some
areas.

I think most of us just use a (relatively fancy) text editor, and cabal (or
cabal-dev, cab, capri, etc...).  You're not likely to find features like
refactoring tools or content assist in an easy-to-install Haskell
environment right now.

--Rogan


 As I said (or haven't, but will) once I will get the hang of it I will
 recount my experience for others to follow, hopefully in better terms
 than this frustrating first experience.

 Many thanks for everyone's advice on the list,
   Dorin

 On Thu, Aug 8, 2013 at 9:48 PM, Carter Schonwald
 carter.schonw...@gmail.com wrote:
  Hey Dorin,
  I don't understand your claims.
 
  1) haskell has worked perfectly well on windows for quite some time. I
 used
  HUGs nearly a decade ago, and in more recent time (2-3 years ago) I
 helped
  teach an introductory first computer science class using GHC where many
  students were doing great work using notepad++ and ghci.
 
   I don't understand your focus on emacs and make files.
 
  2)  if you want an IDE experience, Sublime Text with the right
 plugins, or
  perhaps EclipseFP are worth checking out.
 
  3) likewise, if you're finding tooling on windows unsatisfactory, help
 fix
  it! Bug reports, patches, or new tools and libraries are always welcome.
  Haskell is a relatively small community, and thusly limited manpower
 (we're
  all volunteers), so way to fix any problem is help out!
 
  cheers
 
 
  On Thu, Aug 8, 2013 at 3:30 AM, Dorin Lazar dorin.la...@gmail.com
 wrote:
 
   Hello,
   I am the original author of the post, and I finally received the
  emails from the mailman (probably there was an issue with the
  automated requests).
My answers are inlined.
 
   1) Leksah should not be considered an official haskell ide, but
 merely
   one of
   many community supported editing tools. And frankly one of the less
   widely
   used ones at that! Leksah is not used much at all by anyone, though
   theres
   probably a handful of folks who do use it.
Many folks use editors like Sublime Tex (2/3), Emacs, Vi(m),
 textmate,
   and
   many more.  Its worth noting that the sublime-haskell plugin for
 sublime
   text, and analogous packages for many other editors, provide haskell
   IDE-like powers, or at least a nice subset thereof.
Unfortunately, I think the problem with this is that we have a
  different vision on how development should be done. I have extensive
  experience of working from console, with a simple text editor and
  hand-made Makefiles or anything similar. However, an IDE should be a
  productivity tool, that can help you improve your understanding of the
  language, and can assist you in following the proper syntax for a new
  language. While learning by doing 'write, save, compile, examine error
  message' is ok with me, it is slow, and it limits the time I can
  dedicate to learning the language itself. A better cycle is the
  current 'write, examine error message' of most IDEs, since it's faster
  and requires no context switch. Sure, editors can help there. IDEs do
  this by default.
So it's normal of me to search for an IDE to better learn the
  language, I'll leave the emacs + console version for when I am
  productive in the language.
 
   2) There are people working on building better easily portable native
   gui
   toolkits, but in many respects, a nice haskelly gui toolkit is still
   something people are experimetning with how to do well. theres lots of
   great
   tools out as of the past year or two, many more in progress on various
   time
   scales, and gtk2hs is great for linux (and thats fine).
Unfortunately, this is not what's advertised. In fact, on the leksah
  site, the recommended method is to have the IDE installed via cabal.
  In another mail Mihai calls me unreasonable, but I think it's
  reasonable to think that the recommended method should be the one that
  works.
But the easy to tell truth is that the Haskell Platform for Windows
  is not mature enough yet. That is something I can understand, and I
  can recommend other beginners to install a Linux VM for Haskell. That
  is perfectly fine, zero cost, 100% gain. However, the mistakes from
  the Haskell Platform as it 

Re: [Haskell-cafe] Haskell Platform and Leksah on Windows

2013-08-08 Thread Gregory Weber
On 2013-Aug-08, Vagif Verdi and/or a Mail User Agent wrote:
...
Leksah is a linux program intented to run on linux. You can (in some
cases) successfully install and run it on windows, but you would need
to go through certain steps installing some unrelated to windows
software (gtk etc)
...

GTK and its (non-Haskell) dependencies seem to be the tricky part.
I found the instructions for installing Gtk2hs on Windows

http://www.haskell.org/haskellwiki/Gtk2Hs/Installation#Windows

a bit sketchy, so wrote a blog post with more detailed instructions:


http://spottedmetal.blogspot.com/2013/07/setting-up-haskell-gtk-development.html

I normally work with Linux; Windows experts could probably
make some improvements in my procedures.

Greg


-- 
Gregory D. Weber, Ph. D.  http://mypage.iu.edu/~gdweber/
Associate Professor of InformaticsTel (765) 973-8420
Indiana University East   FAX (765) 973-8550


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


Re: [Haskell-cafe] Haskell Platform and Leksah on Windows

2013-08-07 Thread Albert Y. C. Lai

On 13-08-07 01:18 AM, Mihai Maruseac wrote:

Anyway, he blogged about his problems at
http://dorinlazar.ro/haskell-platform-windows-crippled/ and I'm sure
that we can work on fixing some of them.


To learn Haskell on Windows, and with Haskell Platform already 
installed, it is very easy and KISS to just add a text editor (even 
notepad will do for a while), and start experimenting using ghci. 
Haskell Platform is not cripplied. The next Windows user may find it 
just fine.


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


Re: [Haskell-cafe] Haskell Platform and Leksah on Windows

2013-08-07 Thread Carter Schonwald
Hello Mihai,

you bring up 2 unrelated questions, i'll address them seperately


1)

Leksah should not be considered an official haskell ide, but merely one
of many community supported editing tools. And frankly one of the less
widely used ones at that! Leksah is not used much at all by anyone, though
theres probably a handful of folks who do use it.

 Many folks use editors like Sublime Tex (2/3), Emacs, Vi(m), textmate, and
many more.  Its worth noting that the sublime-haskell plugin for sublime
text, and analogous packages for many other editors, provide haskell
IDE-like powers, or at least a nice subset thereof.


2) There are people working on building better easily portable native gui
toolkits, but in many respects, a nice haskelly gui toolkit is still
something people are experimetning with how to do well. theres lots of
great tools out as of the past year or two, many more in progress on
various time scales, and gtk2hs is great for linux (and thats fine).

cheers
-Carter





On Wed, Aug 7, 2013 at 1:18 AM, Mihai Maruseac mihai.marus...@gmail.comwrote:

 Hello,

 A friend of mine tried to install Haskell Platform and Leksah on
 Windows and was troubled by the amount of problems he encountered as a
 beginner in this. I've told him to ask over IRC and mailing list but
 it seems he has some problems with registration.

 Anyway, he blogged about his problems at
 http://dorinlazar.ro/haskell-platform-windows-crippled/ and I'm sure
 that we can work on fixing some of them.
 --
 MM
 All we have to decide is what we do with the time that is given to us

 ___
 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] Haskell Platform and Leksah on Windows

2013-08-07 Thread Mihai Maruseac
Hello all,

Thanks for your replies, I've relayed them to my acquaintance. Though
he still doesn't understand that he's at fault for demanding the
unreasonable.

On Thu, Aug 8, 2013 at 6:28 AM, Carter Schonwald
carter.schonw...@gmail.com wrote:
 Hello Mihai,

 you bring up 2 unrelated questions, i'll address them seperately


 1)

 Leksah should not be considered an official haskell ide, but merely one of
 many community supported editing tools. And frankly one of the less widely
 used ones at that! Leksah is not used much at all by anyone, though theres
 probably a handful of folks who do use it.

  Many folks use editors like Sublime Tex (2/3), Emacs, Vi(m), textmate, and
 many more.  Its worth noting that the sublime-haskell plugin for sublime
 text, and analogous packages for many other editors, provide haskell
 IDE-like powers, or at least a nice subset thereof.


 2) There are people working on building better easily portable native gui
 toolkits, but in many respects, a nice haskelly gui toolkit is still
 something people are experimetning with how to do well. theres lots of great
 tools out as of the past year or two, many more in progress on various time
 scales, and gtk2hs is great for linux (and thats fine).

 cheers
 -Carter





 On Wed, Aug 7, 2013 at 1:18 AM, Mihai Maruseac mihai.marus...@gmail.com
 wrote:

 Hello,

 A friend of mine tried to install Haskell Platform and Leksah on
 Windows and was troubled by the amount of problems he encountered as a
 beginner in this. I've told him to ask over IRC and mailing list but
 it seems he has some problems with registration.

 Anyway, he blogged about his problems at
 http://dorinlazar.ro/haskell-platform-windows-crippled/ and I'm sure
 that we can work on fixing some of them.
 --
 MM
 All we have to decide is what we do with the time that is given to us

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





-- 
MM
All we have to decide is what we do with the time that is given to us

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


[Haskell-cafe] Haskell Platform and Leksah on Windows

2013-08-06 Thread Mihai Maruseac
Hello,

A friend of mine tried to install Haskell Platform and Leksah on
Windows and was troubled by the amount of problems he encountered as a
beginner in this. I've told him to ask over IRC and mailing list but
it seems he has some problems with registration.

Anyway, he blogged about his problems at
http://dorinlazar.ro/haskell-platform-windows-crippled/ and I'm sure
that we can work on fixing some of them.
-- 
MM
All we have to decide is what we do with the time that is given to us

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