Hi again,
A first hint is to never try to guess what kind of code ghc generates.
If you're in need of performance you need to look at some lower level
code. I recommend the -fext-core flag to produce external core, a
sort-of-readable output of ghc's internal representation of the
I installed a very old version of GHC in the same laptop in 2001 and it was
working well (no matter how big the program was). Now, I upgraded it to
version 6.2.2, but it becomes very slow and asks more Memory or Space.
I know, 64M memory is not big at all nowadays, but I don't think GHC should
This is caused by a clash between the new Win32 package
and the old win32 package. The Windows installer contains both, but
unfortunately they clash on the name of the libraries.
I think the new Win32 library is ready to replace the
old one (Ross?). If that's the case, Sigbjorn, would you
On Tue, Mar 15, 2005 at 10:47:07AM -, Simon Marlow wrote:
This is caused by a clash between the new Win32 package and the old
win32 package. The Windows installer contains both, but unfortunately
they clash on the name of the libraries.
I think the new Win32 library is ready to replace
On 14 March 2005 16:04, Yong Luo wrote:
I installed a very old version of GHC in the same laptop in 2001 and
it was working well (no matter how big the program was). Now, I
upgraded it to version 6.2.2, but it becomes very slow and asks more
Memory or Space.
I know, 64M memory is not big
On 15 March 2005 10:58, Ross Paterson wrote:
On Tue, Mar 15, 2005 at 10:47:07AM -, Simon Marlow wrote:
This is caused by a clash between the new Win32 package and the old
win32 package. The Windows installer contains both, but
unfortunately they clash on the name of the libraries.
I
On Tue, Mar 15, 2005 at 11:37:48AM -, Simon Marlow wrote:
We need a quick solution for 6.4. Should the new Win32 library be
removed, and presumably HGL too? They can come back in 6.4.1 or as
Cabal packages.
Removing them both would be the quick solution, though HGL should be
retained for
perhaps some items got lost from my last mail:
- url problem on http://www.haskell.org/ghc/
Mailing Lists points to non-existent
http://www.haskell.org/ghc/docs/latest/html/users_guide/introduction-ghc.html#MAILING-LISTS-GHC
- missing GLUT
the building guide might want to mention that
Thanks. Both this and your earlier message are fixed in the HEAD; and
tests added.
Keep them coming
Simon
| -Original Message-
| From: [EMAIL PROTECTED]
[mailto:glasgow-haskell-bugs-
| [EMAIL PROTECTED] On Behalf Of Andres Loeh
| Sent: 15 March 2005 13:45
| To:
Bugs item #1163018, was opened at 2005-03-14 14:16
Message generated for change (Comment added) made by simonpj
You can respond by visiting:
https://sourceforge.net/tracker/?func=detailatid=108032aid=1163018group_id=8032
Category: Profiling
Group: None
Status: Open
Resolution: None
Priority: 5
Bugs item #1161624, was opened at 2005-03-11 20:17
Message generated for change (Comment added) made by simonpj
You can respond by visiting:
https://sourceforge.net/tracker/?func=detailatid=108032aid=1161624group_id=8032
Category: Compiler
Group: 6.2.2
Status: Closed
Resolution: Fixed
Priority:
Are there any Object-IO folk out there who'd like to fix (or otherwise
resolve) this sourceforge bug?
https://sourceforge.net/tracker/index.php?func=detailaid=1145315group_
id=8032atid=108032
Simon
Problem 1:
When using the ObjectIO library, setting the view
domain of a compund control does
Bugs item #1163018, was opened at 2005-03-14 15:16
Message generated for change (Comment added) made by andreas-haskell
You can respond by visiting:
https://sourceforge.net/tracker/?func=detailatid=108032aid=1163018group_id=8032
Category: Profiling
Group: None
Status: Open
Resolution: None
Bugs item #1163018, was opened at 2005-03-14 15:16
Message generated for change (Comment added) made by andreas-haskell
You can respond by visiting:
https://sourceforge.net/tracker/?func=detailatid=108032aid=1163018group_id=8032
Category: Profiling
Group: None
Status: Open
Resolution: None
Bugs item #1145315, was opened at 2005-02-21 20:20
Message generated for change (Comment added) made by mjthomas
You can respond by visiting:
https://sourceforge.net/tracker/?func=detailatid=108032aid=1145315group_id=8032
Category: libraries (other)
Group: None
Status: Open
Resolution: None
Hi Simon.
| Are there any Object-IO folk out there who'd like to fix (or otherwise
| resolve) this sourceforge bug?
|
| https://sourceforge.net/tracker/index.php?func=detailaid=1145315group_
| id=8032atid=108032
I've posted a reply asking for examples and hopefully will get to the issue
within
Bugs item #1164178, was opened at 2005-03-15 19:23
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detailatid=108032aid=1164178group_id=8032
Category: GHCi
Group: None
Status: Open
Resolution: None
On 14 March 2005 18:08, Cale Gibbard wrote:
4. It looks like Data.FiniteMap has been renamed Data.Map, or
something. There's no Data.Map at
http://haskell.org/haddock/libraries/, do these need to be
updated?
The right place for library documentation is
On 15 March 2005 00:46, Sebastian Sylvan wrote:
I'm having trouble building this.
I download the source, go to my source dir and run ./configure (which
seems to run to completion without problems), then I run make and get
the following:
./mk/config.mk, line 554: Need an operator
Greetings,
In a program, I want to give a unique name to some structures.
As it is the only imperative thing I need, I don't want to use a monad.
I have played with two solutions and have some questions :
* unsafePerformIO :
I create a counter :
counter :: IORef Int
counter = unsafePerformIO
Hi,
The Debian autobuilders don't let you write to ~ (which seems
reasonable, as they are only compiling the software, not running it), so
my builds are failing with
--
==fptools== /usr/bin/make boot -wr;
in /build/buildd/ghc6-6.4/ghc/rts
[...]
../utils/ghc-pkg/ghc-pkg-inplace --force
Hi,
An alpha build of ghc 6.4 quickly fails because of the
#if alpha_TARGET_ARCH
import PrimRep ( getPrimRepSize, isFloatingRep )
import Type ( typePrimRep )
#endif
in ghc/compiler/typecheck/TcForeign.lhs which no longer exist.
Fortunately, the imported functions aren't used either.
On Wed, Mar 16, 2005 at 01:17:51AM +0100, Nicolas Oury wrote:
Greetings,
In a program, I want to give a unique name to some structures.
As it is the only imperative thing I need, I don't want to use a monad.
You don't want to use the IO monad. Why not use some other monad?
I have played
Sebastian Sylvan [EMAIL PROTECTED] schrieb:
I'm having trouble building this.
I download the source, go to my source dir and run ./configure (which
seems to run to completion without problems), then I run make and get
the following:
./mk/config.mk, line 554: Need an operator
On 14 March 2005 18:08, Cale Gibbard wrote:
4. It looks like Data.FiniteMap has been renamed Data.Map, or
something. There's no Data.Map at
http://haskell.org/haddock/libraries/, do these need to be
updated?
The right place for library documentation is
We would like to inform you that the submission deadline for research papers
for ICSM 2005, the 21st IEEE International Conference on Software Maintenance
has been extended from March 21, 2005 to Sunday, April 3, 2005 - 12.00 PM.
This new date will be the final deadline, so submissions after
ICAPS 2005 Workshop Call for Papers
--
E X T E N D E D D E A D L I N E S
New date for subissions: MARCH 21ST
Workshop on The Role of Ontologies in AI Planning and Scheduling
Plan Execution: A Reality Check
Bridging the gap between plans and their execution.
A workshop held in conjunction with
The 15th International Conference on Planning and Scheduling
ICAPS 2005
Monterey,
[Apologies if you receive this more than once]
Call for Papers
8th International Conference on Logic Programming
and Nonmonotonic Reasoning
(LPNMR'05)
On Mon, Mar 14, 2005 at 07:38:09PM -0600, John Goerzen wrote:
I've got some gzip (and Ian Lynagh's Inflate) code that breaks under
the new hugs with:
handle: IO.getContents: protocol error (invalid character encoding)
What is going on, and how can I fix it?
A Haskell 98 Handle is a
Hi
folks,
I have a parser
problem. I have a basic calculator program (Graham Hutton's from Nottingham)
which contains the following code:
-- Define a parser
to handle the inputexpr :: Parser Intexpr = do t -
term
do symbol
"+"
e -
expr
return (t + e) +++
return t
term :: Parser
On Tue, 15 Mar 2005, Nicola Whitehead wrote:
Hi folks,
I have a parser problem. I have a basic calculator program (Graham Hutton's
from Nottingham) which contains the following code:
-- Define a parser to handle the input
expr :: Parser Int
expr = do t - term
do symbol +
On Tue, 15 Mar 2005, Nicola Whitehead wrote:
(snip)
term :: Parser Int
term = do f - factor
do symbol *
e - expr
return (f * t)
+++ return f
(snip)
symbol and natural are defined elsewhere and work fine, but when I compile it
I get
Henning Thielemann wrote:
I' searching for a function which sorts the numbers and determines the
parity of the number of inversions. I assume that there are elegant and
fast algorithms for this problem (n * log n time steps), e.g. a merge
sort algorithm.
This is a rather nice little problem. I
On 15 Mar 2005, at 12:38, Mark Carroll wrote:
Variables (although why they're
called that in Haskell I'm not sure)
Because the value that they denote can vary between different calls of
the same function?
Jules
___
Haskell-Cafe mailing list
On Tue, Mar 15, 2005 at 10:44:28AM +, Ross Paterson wrote:
On Mon, Mar 14, 2005 at 07:38:09PM -0600, John Goerzen wrote:
I've got some gzip (and Ian Lynagh's Inflate) code that breaks under
the new hugs with:
handle: IO.getContents: protocol error (invalid character encoding)
On Tue, Mar 15, 2005 at 08:12:48AM -0600, John Goerzen wrote:
[...] but Hugs is now much stricter, because character streams now
use the encoding determined by the current locale (for the C locale, that
means ASCII only).
Hmm, this seems to be completely undocumented.
It's mentioned in
On Tue, 15 Mar 2005, Ben Rudiak-Gould wrote:
Henning Thielemann wrote:
I' searching for a function which sorts the numbers and determines the
parity of the number of inversions. I assume that there are elegant and
fast algorithms for this problem (n * log n time steps), e.g. a merge sort
Good day all,
I am attempting to display html pages using wxHaskell's HtmlWindow
functions. I am hoping that it is indeed possible for me to do just that
and that I haven't misunderstood what HtmlWindow is used for.
My code so far will create a frame, a button and an HtmlWindow and other
Curiouser and
curiouser...
expr ::
Parser Intexpr = do t -
term do symbol
"+"e
- expr return (t +
e) +++ return t
solves the undefined
variable problem but introduces a new 'Last operator in do {...} must be an
_expression_' error, which then disappears if I explicitly return
e
expr
expr :: Parser Int
expr = do t - term
do symbol +
e - expr
return e
return (t + e)
+++ return t-
't' is not in scope at the arrow. t only exists inside the
do block, and your code parses like this
( do t - return (t+e) ) +++
perhaps like this:
expr = do t - term
(do symbol +
e - expr
return (t+e)
)
+++
(return t)
although I think you may also want a 'try' before the first alternative.
No, that still gives the same undefined variable error.
On Tue, Mar 15, 2005 at 03:44:55PM -, Nicola Whitehead wrote:
perhaps like this:
expr = do t - term
(do symbol +
e - expr
return (t+e)
)
+++
(return t)
although I think you may also want a 'try' before the
The layout of your code is very important when writing haskell code:
Your code :
expr = do t - term
do symbol +
e - expr
return e
return (t + e)
+++ return t
is equivalent to:
expr = do { t - term
; do { symbol +
; e -
Thanks folks!
Writing it in a lispy manner seems to work. I see what Arthur means about the
layout - I think I'm still thinking too much in C. :)
Nik
Dr Nik FreydĂs Whitehead
University of Akureyri, Iceland
*
Having the moral
Hi,
When I use the
htmlWindowLoadPage hw ./test.html
function, everything works fine and I see the content of the test.html page.
Cheers
Patrick
On Tuesday 15 March 2005 15:51, David Owen wrote:
Good day all,
I am attempting to display html pages using wxHaskell's HtmlWindow
term :: Parser Int
term = do f - factor
do symbol "*"
e - expr
return (f * t)--- replace t with e
+++ return f
I hope that helps,
Carter Schonwald
___
Haskell-Cafe
On Tue, Mar 15, 2005 at 10:44:28AM +, Ross Paterson wrote:
On Mon, Mar 14, 2005 at 07:38:09PM -0600, John Goerzen wrote:
I've got some gzip (and Ian Lynagh's Inflate) code that breaks under
the new hugs with:
handle: IO.getContents: protocol error (invalid character encoding)
48 matches
Mail list logo