Send Beginners mailing list submissions to
[email protected]
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
[email protected]
You can reach the person managing the list at
[email protected]
When replying, please edit your Subject line so it is more specific
than "Re: Contents of Beginners digest..."
Today's Topics:
1. Re: homepage for the Gtk2Hs project? (MAN)
2. parsec, return remaining input? (Rob Nikander)
3. Re: parsec, return remaining input? (Daniel Fischer)
4. ghc process gets killed on a 512MB machine (Ionu? G. Stan)
----------------------------------------------------------------------
Message: 1
Date: Fri, 15 Apr 2011 18:39:36 -0300
From: MAN <[email protected]>
Subject: Re: [Haskell-beginners] homepage for the Gtk2Hs project?
To: Daniel Fischer <[email protected]>
Cc: [email protected]
Message-ID: <1302903577.2433.7.camel@dy-book>
Content-Type: text/plain; charset="UTF-8"
Oh, I see. Stupidly, I was using "cabal list gtk2hs", and never tried
"gtk". Thanks, everyone.
El vie, 15-04-2011 a las 23:17 +0200, Daniel Fischer escribi?:
> On Friday 15 April 2011 23:11:49, MAN wrote:
> > Thanks, deech.
> > Btw, since you've been asking around, do you know if they've given up
> > trying to make 'cabal install gtk2hs' work? (my 'cabal list gtk2hs' only
> > shows the 'generics, casts and buildtools).
>
> It's been split into a number of smaller packages, gtksourceview, cairo,
> pango, whatnot.
> It should be cabal install'able
------------------------------
Message: 2
Date: Fri, 15 Apr 2011 19:44:32 -0400
From: Rob Nikander <[email protected]>
Subject: [Haskell-beginners] parsec, return remaining input?
To: beginners <[email protected]>
Message-ID: <[email protected]>
Content-Type: text/plain; charset=ISO-8859-1
Hi,
Is there a way to return the remaining input, so that parsec can be
used to parse one piece at a time. So something like:
chunk = many (noneOf ",:")
parse chunk "abc,123:xyz"
Would return ("abc", ",123:last") or similar?
thanks,
Rob
------------------------------
Message: 3
Date: Sat, 16 Apr 2011 02:01:35 +0200
From: Daniel Fischer <[email protected]>
Subject: Re: [Haskell-beginners] parsec, return remaining input?
To: [email protected]
Message-ID: <[email protected]>
Content-Type: Text/Plain; charset="iso-8859-1"
On Saturday 16 April 2011 01:44:32, Rob Nikander wrote:
> Hi,
>
> Is there a way to return the remaining input, so that parsec can be
> used to parse one piece at a time. So something like:
>
> chunk = many (noneOf ",:")
chunk = do
first <- many (noneOf ",:")
rest <- getInput
-- maybe `setInput ""' here
return (first, rest)
> parse chunk "abc,123:xyz"
But that looks like you're going to iterate, so maybe
sepBy (many $ noneOf ",:") (oneOf ",:")
should be looked at.
>
> Would return ("abc", ",123:last") or similar?
>
> thanks,
> Rob
------------------------------
Message: 4
Date: Sat, 16 Apr 2011 08:45:19 +0300
From: "Ionu? G. Stan" <[email protected]>
Subject: [Haskell-beginners] ghc process gets killed on a 512MB
machine
To: [email protected]
Message-ID: <[email protected]>
Content-Type: text/plain; charset=UTF-8; format=flowed
Hi,
I'm trying to install the highlighting-kate package[1] on a small Linode
512MB instance. Throughout the installation process, top reports
increasing memory usage of GHC, and ends up with the process being
killed (ExitFailure 9, confirmed by the dmesg command).
I'm using GHC 7.0.3, and this problem didn't appear with GHC 6.12.3 and
a previous version of highlighting-kate (don't know which for sure). I
mean, I had it installed successfully at some point.
Is there any workaround for this problem? Other than fork the package
repo and reduce the number of supported syntax files.
Thanks!
[1]: http://hackage.haskell.org/package/highlighting-kate
--
Ionu? G. Stan | http://igstan.ro/
------------------------------
_______________________________________________
Beginners mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/beginners
End of Beginners Digest, Vol 34, Issue 28
*****************************************