Hi,
The function mkPortNumber is gone from the Socket library:
Prelude :t Socket.mkPortNumber
interactive:1: Variable not in scope: `Socket.mkPortNumber'
Though it is still mentioned in the documentation for
GHC-5.02.
/Koen.
___
The function mkPortNumber is gone from the Socket library:
Prelude :t Socket.mkPortNumber
interactive:1: Variable not in scope: `Socket.mkPortNumber'
Though it is still mentioned in the documentation for
GHC-5.02.
Sorry about that. Duly removed.
Cheers,
Simon
On Mon, Oct 01, 2001 at 10:52:32AM +0100, Simon Marlow wrote:
This is a known bug, but thanks for reporting it anyway.
The workaround
is as suggested, try compiling with -O.
I *was* compiling with -O. IIRC the problem occured with any level of
optimisation I tried if and only
| Surely the executable itself is only linked with the
| functions that are actually used by the program?
AFAIUI the GNU linker is not clever enough to remove junk
on a per-function basis, only on a per-object basis. This is
why we do object-splitting -- by breaking libraries up into
I notice that the method for detecting the configuration of ghc (for
building 'hmake') no longer works with 5.02. This must be the most
unstable part of ghc - I've had to change it at 4.06, 4.08, 5.00,
and now 5.02 as well!
ghc-pkg-5.00 --show-package std --field import_dirs
I notice that the method for detecting the configuration of ghc (for
building 'hmake') no longer works with 5.02. This must be the most
unstable part of ghc - I've had to change it at 4.06, 4.08, 5.00,
and now 5.02 as well!
ghc-pkg-5.00 --show-package std --field import_dirs
Mon, 1 Oct 2001 09:55:11 +0100, Simon Marlow [EMAIL PROTECTED] pisze:
We don't have support for shared libraries under Unix at the moment. It
has been investigated at various times in the past, and I believe the
story is that we couldn't do it without at least losing some performance
(more
Simon Marlow wrote:
Perhaps it would be easier to have hmake just invoke 'ghc --make' under
the hood?
I don't think ghc --make is mature enough to replace other make tools
yet. For example, when trying to compile Fudgets with ghc-5.02 --make
-O2, with GHCRTS=-M100M, I got
GHC's heap
Simon Marlow [EMAIL PROTECTED] wrote,
| Surely the executable itself is only linked with the
| functions that are actually used by the program?
AFAIUI the GNU linker is not clever enough to remove junk
on a per-function basis, only on a per-object basis. This is
why we do
On 2001-10-03T10:37:24+1000, Manuel M. T. Chakravarty wrote:
Simon Marlow [EMAIL PROTECTED] wrote,
| Surely the executable itself is only linked with the
| functions that are actually used by the program?
AFAIUI the GNU linker is not clever enough to remove junk
on a per-function
It's that time of the month! Another iteration of the Revised Haskell
98 Report!
http://research.microsoft.com/~simonpj/haskell98-revised
I'm happy to say that my orbit is diminishing in radius and I
shall shortly turn into a black hole.
Seriously, the main things I've done this time
Apologies if you receive multiple copies
*
Due to a number of requests and some other reasons, the Deadline is
extended.
*
WICS'2002
The
the main things I've done this time is to
* revise yet again the wording about export lists
Two of the changes to Export Decls (Section 5.2) now conflict with
each other.
[Oct 2001]
The form `module M' abbreviates the set of all entities whose
unqualified name, e, is in scope, and
Just spotted this Haskell tutorial at IBM developerWorks (free
registration required):
http://www-105.ibm.com/developerworks/education.nsf/linux-onlinecourse-b
ytitle/9A31A3C4A0CE683E86256AD400822942?opent=grl,l=805,t=haskell
(hope that URL doesn't get mangled by Exchange...). Looks like it's
Carlos Scheidegger writes:
First, the Happy example uses some functions that exist in
Hugs but not in GHC, like isAlpha, isDigit and isSpace (I think so,
at least, because i type ':t isAlpha' in GHCi and get
'variable not in
scope'), so I created a module called CharClasses with
hello,
this was a bug in the report, the B import should not be qualified.
it has been fixed in the latest version of the report.
[Sept 2001]
For example
module A ( module B, C.f, g ) where -- an invalid module
import qualified B(f,g)
import qualified C(f)
Cagdas Ozgenc [EMAIL PROTECTED] writes:
Could you help me on this notation?
Perhaps?
data Foo = Foo { a :: Int, b :: String }
This declares a Foo constructor with two named fields, and Int a and
a String b. This is equivalent to declaring
data Foo = Foo Int String
but with a
02 Oct 2001 15:16:27 +0300, Dmitry Astapov [EMAIL PROTECTED] pisze:
I need to define SetsAsLists as an instance of Set by supplying
definitions for all Set methods, but definitions I wrote led me to
adding additional constraints on union and memeber methods.
What constraints? The class
18 matches
Mail list logo