Send Beginners mailing list submissions to
        beginners@haskell.org

To subscribe or unsubscribe via the World Wide Web, visit
        http://www.haskell.org/mailman/listinfo/beginners
or, via email, send a message with subject or body 'help' to
        beginners-requ...@haskell.org

You can reach the person managing the list at
        beginners-ow...@haskell.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Beginners digest..."


Today's Topics:

   1. Re:  Cannot Install Yi - Haskell (Sayth Renshaw)
   2. Re:  Cannot Install Yi - Haskell 2011.02.0.0 (Daniel Fischer)
   3. Re:  Cannot Install Yi - Haskell (Daniel Fischer)
   4. Re:  Does haskell have to have values? (Ertugrul Soeylemez)
   5. Re:  Cannot Install Yi - Haskell (Sayth Renshaw)


----------------------------------------------------------------------

Message: 1
Date: Sat, 26 Mar 2011 23:47:54 +1100
From: Sayth Renshaw <flebber.c...@gmail.com>
Subject: Re: [Haskell-beginners] Cannot Install Yi - Haskell
To: beginners@haskell.org
Message-ID:
        <AANLkTi=SP7L2XFOj=7nyesiz9mczcvk0qmixrcqk-...@mail.gmail.com>
Content-Type: text/plain; charset="iso-8859-1"

On Sat, Mar 26, 2011 at 10:00 PM, <beginners-requ...@haskell.org> wrote:

> Send Beginners mailing list submissions to
>        beginners@haskell.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
>        http://www.haskell.org/mailman/listinfo/beginners
> or, via email, send a message with subject or body 'help' to
>        beginners-requ...@haskell.org
>
> You can reach the person managing the list at
>        beginners-ow...@haskell.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Beginners digest..."
>
>
> Today's Topics:
>
>   1.  Cannot Install Yi - Haskell 2011.02.0.0 (Sayth Renshaw)
>   2. Re:  Cannot Install Yi - Haskell 2011.02.0.0 (Jeff Wheeler)
>   3. Re:  Cannot Install Yi - Haskell 2011.02.0.0 (Sayth Renshaw)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Sat, 26 Mar 2011 18:59:52 +1100
> From: Sayth Renshaw <flebber.c...@gmail.com>
> Subject: [Haskell-beginners] Cannot Install Yi - Haskell 2011.02.0.0
> To: beginners@haskell.org
> Message-ID:
>        <AANLkTikKe=2acbd-mnavpkx77wmfpodf8xxh9mevp...@mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Hi I am on Windows XP SP3. The unix chain fails to install and therefore i
> cannot install Yi.
>
> This is how it is failing. Any ideas on how to get it working?
>
> Registering dyre-0.8.6...
> Installing library in C:\Documents and Settings\renshaw\Application
> Data\cabal\dyre-0.8.6\ghc-7.0.2
> Registering dyre-0.8.6...
> cabal: Error: some packages failed to install:
> terminfo-0.3.1.3 failed during the configure step. The exception was:
> ExitFailure 1
> unix-2.4.2.0 failed during the configure step. The exception was:
> ExitFailure 1
> vty-4.6.0.6 depends on unix-2.4.2.0 which failed to install.
> yi-0.6.3.0 depends on unix-2.4.2.0 which failed to install.
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <
> http://www.haskell.org/pipermail/beginners/attachments/20110326/68be8871/attachment-0001.htm
> >
>
> ------------------------------
>
> Message: 2
> Date: Sat, 26 Mar 2011 03:04:07 -0500
> From: Jeff Wheeler <wheel...@illinois.edu>
> Subject: Re: [Haskell-beginners] Cannot Install Yi - Haskell
>        2011.02.0.0
> To: beginners@haskell.org, yi-de...@googlegroups.com
> Message-ID:
>        <aanlktin8twrzkuzrkmtymp6mnzuapqcv3r0fzw5wb...@mail.gmail.com>
> Content-Type: text/plain; charset=UTF-8
>
> On Sat, Mar 26, 2011 at 2:59 AM, Sayth Renshaw <flebber.c...@gmail.com>
> wrote:
> > Hi I am on Windows XP SP3. The unix chain fails to install and therefore
> i
> > cannot install Yi.
>
> The vty UI is not supported on Windows, unfortunately. You'll need to
> install Gtk2Hs and the Pango UI. I'm not sure if there's anything you
> need to do to install Gtk2Hs (on unix machines, it's just cabal
> install-able), but after that you should be able to run this:
>
> $ cabal install yi -f-vty -fpango
>
> (That disables the vty UI, enables the pango UI.)
>
> --
> Jeff Wheeler
>
> Undergraduate, Electrical Engineering
> University of Illinois at Urbana-Champaign
>
>
>
> ------------------------------
>
> Message: 3
> Date: Sat, 26 Mar 2011 20:33:24 +1100
> From: Sayth Renshaw <flebber.c...@gmail.com>
> Subject: Re: [Haskell-beginners] Cannot Install Yi - Haskell
>        2011.02.0.0
> To: beginners@haskell.org
> Message-ID:
>        <AANLkTikWGQOH95U=8f55zt+drf3mrcttxwjy5621d...@mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> On Sat, Mar 26, 2011 at 6:59 PM, Sayth Renshaw <flebber.c...@gmail.com
> >wrote:
>
> > Hi I am on Windows XP SP3. The unix chain fails to install and therefore
> i
> > cannot install Yi.
> >
> > This is how it is failing. Any ideas on how to get it working?
> >
> > Registering dyre-0.8.6...
> > Installing library in C:\Documents and Settings\renshaw\Application
> > Data\cabal\dyre-0.8.6\ghc-7.0.2
> > Registering dyre-0.8.6...
> > cabal: Error: some packages failed to install:
> > terminfo-0.3.1.3 failed during the configure step. The exception was:
> > ExitFailure 1
> > unix-2.4.2.0 failed during the configure step. The exception was:
> > ExitFailure 1
> > vty-4.6.0.6 depends on unix-2.4.2.0 which failed to install.
> > yi-0.6.3.0 depends on unix-2.4.2.0 which failed to install.
> >
>
> Actually I cannot install Yi on mint debian either. Cabal version doesn't
> match.
>
> I did cabal install cabal-install
> then
> cabal upgrade cabal
>
> but get this error when trying to install Yi
>
> Installing library in /home/sayth/.cabal/lib/Cabal-1.10.1.0/ghc-6.12.1
> Registering Cabal-1.10.1.0...
> sayth@homegroup ~ $ cabal install yi
> Resolving dependencies...
> cabal: dependencies conflict: ghc-6.12.1 requires Cabal ==1.8.0.2 however
> Cabal-1.8.0.2 was excluded because yi-0.6.3.0 requires Cabal ==1.10.*
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <
> http://www.haskell.org/pipermail/beginners/attachments/20110326/e55d3703/attachment-0001.htm
> >
>
> ------------------------------
>
> _______________________________________________
> Beginners mailing list
> Beginners@haskell.org
> http://www.haskell.org/mailman/listinfo/beginners
>
>
> End of Beginners Digest, Vol 33, Issue 36
> *****************************************
>

The command cabal install-able wouldn't work for me no package found.

so I installed gtk and yi-gtk.

I tried to then use.
$ cabal install yi -f-vty -fpango

this failed though because among other things glib would not install. from
the error messages gtk2hs-buildtools was advised to be installed. So I
installed that.
Then I attempted to use $ cabal install yi -f-vty -fpango again but still
glib fails.

glib cannot be installed because of below error. Any further ideas?

\setup.exe ...
Configuring glib-0.12.0...
setup.exe: The program pkg-config version >=0.9.0 is required but it could
not
be found.
cabal: Error: some packages failed to install:
glib-0.12.0 failed during the configure step. The exception was:
ExitFailure 1

C:\Documents and Settings\renshaw>cabal install pkg-config
cabal: There is no package named 'pkg-config'.
You may need to run 'cabal update' to get the latest list of available
packages.

Sayth
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://www.haskell.org/pipermail/beginners/attachments/20110326/a8ef9fac/attachment-0001.htm>

------------------------------

Message: 2
Date: Sat, 26 Mar 2011 13:55:26 +0100
From: Daniel Fischer <daniel.is.fisc...@googlemail.com>
Subject: Re: [Haskell-beginners] Cannot Install Yi - Haskell
        2011.02.0.0
To: beginners@haskell.org
Cc: Sayth Renshaw <flebber.c...@gmail.com>
Message-ID: <201103261355.27104.daniel.is.fisc...@googlemail.com>
Content-Type: Text/Plain;  charset="utf-8"

On Saturday 26 March 2011 10:33:24, Sayth Renshaw wrote:
> 
> Actually I cannot install Yi on mint debian either. Cabal version
> doesn't match.
> 
> I did cabal install cabal-install
> then
> cabal upgrade cabal
> 
> but get this error when trying to install Yi
> 
> Installing library in /home/sayth/.cabal/lib/Cabal-1.10.1.0/ghc-6.12.1
> Registering Cabal-1.10.1.0...
> sayth@homegroup ~ $ cabal install yi
> Resolving dependencies...
> cabal: dependencies conflict: ghc-6.12.1 requires Cabal ==1.8.0.2
> however Cabal-1.8.0.2 was excluded because yi-0.6.3.0 requires Cabal
> ==1.10.*

Yes, the ghc lib requires the Cabal it was built against. You can either 
try installing an earlier version of Yi which works with Cabal-1.8.*
or upgrading to GHC-7 (which comes with Cabal-1.10).



------------------------------

Message: 3
Date: Sat, 26 Mar 2011 13:59:49 +0100
From: Daniel Fischer <daniel.is.fisc...@googlemail.com>
Subject: Re: [Haskell-beginners] Cannot Install Yi - Haskell
To: beginners@haskell.org
Cc: Sayth Renshaw <flebber.c...@gmail.com>
Message-ID: <201103261359.49431.daniel.is.fisc...@googlemail.com>
Content-Type: Text/Plain;  charset="utf-8"

On Saturday 26 March 2011 13:47:54, Sayth Renshaw wrote:
> this failed though because among other things glib would not install.
> from the error messages gtk2hs-buildtools was advised to be installed.
> So I installed that.
> Then I attempted to use $ cabal install yi -f-vty -fpango again but
> still glib fails.
> 
> glib cannot be installed because of below error. Any further ideas?
> 
> \setup.exe ...
> Configuring glib-0.12.0...
> setup.exe: The program pkg-config version >=0.9.0 is required but it
> could not
> be found.
> cabal: Error: some packages failed to install:
> glib-0.12.0 failed during the configure step. The exception was:
> ExitFailure 1
> 
> C:\Documents and Settings\renshaw>cabal install pkg-config
> cabal: There is no package named 'pkg-config'.
> You may need to run 'cabal update' to get the latest list of available
> packages.
> 

pkg-config is not a Haskell thing, it's a C (I think) tool. Unixoids 
usually come equipped with pkg-config, on Windows you have to install it 
otherwise (google pkg-config for Windows, that should turn up something 
installable).



------------------------------

Message: 4
Date: Sun, 27 Mar 2011 03:02:32 +0200
From: Ertugrul Soeylemez <e...@ertes.de>
Subject: Re: [Haskell-beginners] Does haskell have to have values?
To: beginners@haskell.org
Message-ID: <20110327030232.4cb1b...@tritium.streitmacht.eu>
Content-Type: text/plain; charset=US-ASCII

Mike Meyer <m...@mired.org> wrote:

> So the question is - is there any advantage or harm in this way of
> looking at values?

One harm is that you are mixing two concepts, which Haskell specifically
tries to keep separate:  functions and procedures.  A function maps a
value to another value.  A "zeroadic function" hence is not a function.
It is indeed a value and the thunk concept is just a technical detail,
about which you shouldn't bother.  You can write proper Haskell programs
without ever knowing, what a thunk is or how lazy evaluation is
/implemented/.

Now in most strict languages there are no real functions, and procedures
are just named "functions" for some reason.  In my opinion the "zeroadic
function" view is going to hurt you much more than it is going to help
you.  Brent makes a good point that it may help you, when coming from a
strict language, but on the other hand understanding lazy evaluation,
non-strictness and forcing will make Haskell much more natural to you.

With zeroadic "functions" you may end up not writing natural Haskell
programs, but just trying to fit your strict view into the non-strict,
lazily evaluated world.


Greets,
Ertugrul


-- 
nightmare = unsafePerformIO (getWrongWife >>= sex)
http://ertes.de/





------------------------------

Message: 5
Date: Sun, 27 Mar 2011 19:49:55 +1100
From: Sayth Renshaw <flebber.c...@gmail.com>
Subject: Re: [Haskell-beginners] Cannot Install Yi - Haskell
To: Daniel Fischer <daniel.is.fisc...@googlemail.com>,
        beginners@haskell.org
Message-ID:
        <AANLkTikuJNUtQ_Mb=o7kprmgqsubvb+cu9f370xov...@mail.gmail.com>
Content-Type: text/plain; charset="iso-8859-1"

On Sun, Mar 27, 2011 at 10:12 AM, Daniel Fischer <
daniel.is.fisc...@googlemail.com> wrote:

> On Saturday 26 March 2011 23:49:05, Sayth Renshaw wrote:
> >
> > I have found pkg-config http://pkg-config.freedesktop.org/wiki/ due to
> > the sparse documentation though its not clear how to install or use it.
>
> Don't know if that's any easier to install:
> http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/pkg-
> config_0.25-1_win32.zip
>
> as linked by aditya siram in
> http://www.haskell.org/pipermail/beginners/2011-January/006204.html
>
> >
> > Maybe I got the wrong idea of this but I thought Yi aim was becoming the
> > default haskell editor, sort of like the idle of python.
>
> That might be the aim, if it is, it's still not there. I don't see myself
> switching from kate/kwrite anytime soon, others swear by emacs or vi(m).
> Many use leksah or eclipseFP which seem to be decent IDEs.
>
> > If it isn't which is the best option for haskell,
>
> Depends on what type of coder you are. Maybe you should take a look at
> leksah and eclipseFP if you're looking for something IDEish, or any text
> editor with decent syntax highliting might do.
>
> > if it is should it really be this hard to install?
>
> Probably not. But Windows is different and most package authors have no
> access to a Windows box, so installing stuff on Windows is often a pain,
> unfortunately.
>
> However, you'll probably need pkg-config also for some other packages, so
> it's worth some effort.
>
> >
> > Sayth
>

First thanks for all the help. If there is no standard ide for haskell then
I already use geany so I will use that and check out elipseFP as you
suggested.

Thanks

Sayth
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://www.haskell.org/pipermail/beginners/attachments/20110327/6cd69aea/attachment.htm>

------------------------------

_______________________________________________
Beginners mailing list
Beginners@haskell.org
http://www.haskell.org/mailman/listinfo/beginners


End of Beginners Digest, Vol 33, Issue 37
*****************************************

Reply via email to