On 5 Oct 2001, Marcin 'Qrczak' Kowalczyk wrote:
Fri, 5 Oct 2001 17:31:18 +0200, Ch. A. Herrmann [EMAIL PROTECTED]
pisze:
Loading package std ... linking ...
/public/packages/programming/ghc-5.02/lib/ghc-5.02/HSstd_cbits.o: unknown symbol
`__ashldi3'
I guess you can add the symbol to
Yes, non-interactive uses of the Win32 library appear to
be in a non-working state (at least with my copy of ghc-5.02,
don't know if there's been any stealth updates to the installer
binary.)
As a stop-gap measure, replace ghc-5.02's libHSwin32.a
(after having saved it away) with the one
Tue, 9 Oct 2001 10:10:40 +0200 (MET DST), Josef Svenningsson [EMAIL PROTECTED]
pisze:
Linker.c: At top level:
Linker.c:369: `__ashldi3' undeclared here (not in a function)
Bring it with Sym, not SymX.
--
__( Marcin Kowalczyk * [EMAIL PROTECTED] http://qrczak.ids.net.pl/
\__/
^^
I am writing to report a bug I have found in GHC
version 5.02. The problemis that I tried to compile a .hs file which
camewith Green Card's library and the following message
appeared:
"panic! (the 'impossible' happened, GHC version
5.02): Native code generator can't
handle foreign call
To make this panic go away, try adding the option
"-fvia-C" to your GHC
command line.
(GHC could give a better error msg here, and
indicate that you have to
use -fvia-C with code that (still) uses
_casm_.)
hth
--sigbjorn
- Original Message -
From:
Monique Louise
To:
Hi!
I would like to add a request to Thomas list of lacking features of
ghc --make:
When caching information between the compilation of different modules,
use weak pointers.
With large projects, ghc runs out of heapspace because of too much
caching. It's always fine to restart the build
Nicolas [EMAIL PROTECTED] writes:
Hi there,
Sorry for this stupid question:
Is there a distrib of a HOpenGl package working with ghc 5.02. I tried
the CVS but don't manage to make it work (ghc 5.03 panic).
Can someone help me?
I got HOpenGL to work without trouble. On September 29, I
$ grep 'ld.*-x' `find . -name Makefile`
./ghc-5.02/ghc/lib/std/Makefile:ld -r -x -o $@ $(GHCI_LIBOBJS)
./ghc-5.02/ghc/lib/std/Makefile:ld -r -x -o HSstd1.o $(filter
Prel%, $(GHCI_LIBOBJS))
./ghc-5.02/ghc/lib/std/Makefile:ld -r -x -o HSstd2.o
$(filter-out Prel%,
I forgot to say: that's ghc-5.00.1, linux.
___
Glasgow-haskell-users mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users
Just to clear up any misunderstanding:
- Original Message -
From: Ashley Yakeley [EMAIL PROTECTED]
To: Haskell List [EMAIL PROTECTED]
Sent: Monday, October 01, 2001 12:36 AM
Subject: Re: Unicode support
At 2001-09-30 07:29, Marcin 'Qrczak' Kowalczyk wrote:
Some time ago the Unicode
At 2001-10-09 02:58, Kent Karlsson wrote:
In summary:
code position (=code point): a value between and 10.
Would this be a reasonable basis for Haskell's 'Char' type? At some point
perhaps there should be a 'Unicode' standard library for Haskell. For
instance:
encodeUTF8 ::
- Original Message -
From: Ashley Yakeley [EMAIL PROTECTED]
To: Kent Karlsson [EMAIL PROTECTED]; Haskell List [EMAIL PROTECTED];
Libraries for Haskell List
[EMAIL PROTECTED]
Sent: Tuesday, October 09, 2001 12:27 PM
Subject: Re: Unicode support
At 2001-10-09 02:58, Kent Karlsson
howMany :: Int - Int - Int - Int
howMany n1 n2 n3
| (n1 a) (n2 a) (n3 a) = 3
| (n1 a) (n2 a) = 2
| (n1 a) (n3 a) = 2
| otherwise = 1
where a = (n1 + n2 + n3)/3
i get an error message ERROR C:\My Documents\Haskell
At 2001-10-09 03:37, Kent Karlsson wrote:
code position (=code point): a value between and 10.
Would this be a reasonable basis for Haskell's 'Char' type?
Yes. It's essentially UTF-32, but without the fixation to 32-bit
(21 bits suffice). UTF-32 (a.k.a. UCS-4 in 10646, yet to
On Tue, 9 Oct 2001, Ashley Yakeley wrote:
Would it be worthwhile restricting Char to the 0-10 range, just as a
Word8 is restricted to 0-FF even though in GHC at least it's stored
32-bit?
It is thus restricted in GHC. I think it's a good compromise between
32-bit-Unicode and
riz er [EMAIL PROTECTED] writes:
howMany :: Int - Int - Int - Int
howMany n1 n2 n3
| (n1 a) (n2 a) (n3 a) = 3
| (n1 a) (n2 a) = 2
| (n1 a) (n3 a) = 2
| otherwise = 1
where a = (n1 + n2 + n3)/3
i get an error message
Instance of Fractional Int
Tue, 9 Oct 2001 10:50:19 +1300, Tom Pledger [EMAIL PROTECTED] pisze:
I'm curious about this impossibility.
- Is it well known? If so, would someone please refer me to a paper
or posting which explains it?
I don't know. I'm not even sure if some clever encoding couldn't
express it,
im having abit of difficulty doing excersise 5.26 .. possible for an
assistance plz :)
_
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp
___
Haskell mailing
Marcin 'Qrczak' Kowalczyk [EMAIL PROTECTED] writes:
Since OO languages often use subtypes to emulate constructors of
algebraic types, they need downcasts. In Haskell it's perhaps less
needed but it's a pity that it's impossible to translate an OO scheme
which makes use of downcasts into
On Tue, Oct 09, 2001 at 12:37:27PM +0200, Kent Karlsson wrote:
At 2001-10-09 02:58, Kent Karlsson wrote:
In summary:
code position (=code point): a value between and 10.
Would this be a reasonable basis for Haskell's 'Char' type?
Yes. It's essentially UTF-32, but without
Thanks for the further explanation, Marcin. If I understand
correctly, you're talking about explicitly named algebraic types, not
just unions where the type is an anonymous reflection of the structure
as in:
Var (foo :: Int, bar :: Char)
-- in the style of A Polymorphic Type System for
i have done the function for borrowers but having some trouble with the
borrowed and numBorrowed function. I have listed my code below with the
borrowed function not completed and numBorrowed also not completed.Can you
plz try to fill in the borrowed and numBorrowed functions if you can
Hi Mike, Sigbjorn, Simon,
Thanks so much for the pointers. Sigbjorn's suggestion to check out the patch
was what finally fixed my problem. BTW, ghci still does work for me.
I get this lovely message:
F:\stuffghci -package win32 hello.lhs
C:\ghc-5.02\bin\ghc.exe: file `P?B' does not exist
The
[Posted to haskell-cafe, since it's getting quite off topic]
Kent Karlsson [EMAIL PROTECTED] writes:
for a long time. 16 bit unicode should be gotten rid of, being the worst
of both worlds, non backwards compatable with ascii, endianness issues
and no constant length encoding utf8
- Original Message -
From: Ketil Malde [EMAIL PROTECTED]
...
for a long time. 16 bit unicode should be gotten rid of, being the worst
of both worlds, non backwards compatable with ascii, endianness issues
and no constant length encoding utf8 externally and utf32 when
worknig
Kent Karlsson [EMAIL PROTECTED] writes:
You have endianness issues, and you need to explicitly type text files
or insert BOMs.
You have to distinguish between the encoding form (what you use internally)
and encoding scheme (externally).
Good point, of course. Most of the arguments apply
On Mon, 8 Oct 2001 15:03:15 -0700 Ashley Yakeley [EMAIL PROTECTED]
wrote:
At 2001-10-08 09:27, Diego Dainese wrote:
what are the reasons behind the rule stating that a type must not be
declared as an instance of a particular class, more than once in the
program?
It's so that the members
hello,
Why aren't instance declarations handled by the module system like
every other symbol, so that a module can decide when to import an
instance declaration and when to export it? Are there technical
difficulties with this approach?
i beleive the reason is that instances don't have
What is the rationale for when Haskell demands a = and when it demands
a -? Ideas that occur to me are:
(a) The distinction helps the parser a lot
(b) There's a semantic difference that the language's grammar is trying
to express that isn't obvious to me
-- Mark
Title: RE: Unicode support
-Original Message-
From: Ketil Malde [mailto:[EMAIL PROTECTED]]
...
But as I said: they will not go away now, they are too
firmly established.
Yep. But it appears that the right choice for external encoding
scheme would be UTF-8.
You're free to
Está para sair a 22 de Outubro... até eu estou a ficar surpreendido com a
evolução destes tipos. Qd penso do 1o Linux que instalei (à cerca de dois
anos? - andava eu no 4o ano) sinto-me como aquelas velhas que dizem eu ainda
sou do tempo..., err... em que tinha de andar a alterar XF86Config à
I just accidently sent a mail written in portuguese about SuSE 7.3.
I'm really sorry, it will not happen again.
My apologies
J.A.
___
Haskell-Cafe mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/haskell-cafe
Iavor S. Diatchki wrote:
hello,
Why aren't instance declarations handled by the module system like
every other symbol, so that a module can decide when to import an
instance declaration and when to export it? Are there technical
difficulties with this approach?
i beleive the
At 2001-10-09 11:55, Mark Carroll wrote:
What is the rationale for when Haskell demands a = and when it demands
a -?
What? Example please...
--
Ashley Yakeley, Seattle WA
___
Haskell-Cafe mailing list
[EMAIL PROTECTED]
Mark Carroll [EMAIL PROTECTED] writes:
On Tue, 9 Oct 2001, Ashley Yakeley wrote:
At 2001-10-09 11:55, Mark Carroll wrote:
What is the rationale for when Haskell demands a = and when it
demands a -?
Okay, I can't give you anything formal, but here's my intuitive
understanding of things
35 matches
Mail list logo