| Marcin Kowalczyk ([EMAIL PROTECTED]) writes:
| I would like to replace with and dlet with let. But SimonPJ
| said he won't do it in ghc unless Hugs does it too, and Mark P Jones
| said he won't do it in Hugs now (without deep reasons: no
| people/hours to do that, and no plans to release
may I send to someone of GHC team an archive with a couple of
bugs of ghc-5.00 ?
I mean not to copy the archive to the whole list ... and to debug.
-
Serge Mechveliani
[EMAIL PROTECTED]
___
Glasgow-haskell-bugs mailing list
[EMAIL
This is a cosmetic bug related to path errors. I have a module that
imports a non-existing module, and run ghc on it providing a
non-existing path. I am using ghc-5.00 checked out yesterday from
anoncvs and compiled without any special fine tuning. Compilation
works:
Sure, send it to me. Pls attach instructions on how to
build, and how to reproduce the bugs.
J
| -Original Message-
| From: S.D.Mechveliani [mailto:[EMAIL PROTECTED]]
| Sent: Thursday, April 26, 2001 1:01 PM
| To: [EMAIL PROTECTED]
| Subject: want to send archive with bugs
|
|
|
This is a cosmetic bug related to path errors. [ snip ]
Thanks, I've committed a (slightly modified) version of your patch.
Cheers,
Simon
___
Glasgow-haskell-bugs mailing list
[EMAIL PROTECTED]
[This bug report may be related to SimonPJ's question about implicit
parameters and the monomorphism restriction - I'm not sure.]
The attached program contains two definitions of ident - a function
that uses implicit parameters.
The only difference between them is that the first (which works)
GHC 5.0 doesn't tell me which line the error is on in the attached program.
$ rm -f T.o ghc -c -fglasgow-exts T.hs
Couldn't match `Int' against `[(String, Int)]'
Expected type: Int
Inferred type: [(String, Int)]
The type error itself is correct: the type of ?env in the signature
for
On Thu, Apr 26, 2001 at 01:54:23PM -0600, Alastair Reid wrote:
$ rm -f T.o ghc -c -fglasgow-exts T.hs -cpp -DOK=1
$ rm -f T.o ghc -c -fglasgow-exts T.hs -cpp -DOK=2
T.hs:20:
Could not deduce `?env :: ([(String, b)], b1)' from the context ()
Probable fix:
Add `?env ::
Two further details:
1) The previous bug report is for a copy of ghc 5.00 built from the
repository (on Debian Linux).
The newest file .lhs file (hence last update?) is dated April 20, 17:37
2) This part
Or add an instance declaration for `?env :: ([(String, b)], b1)'
of the
This binding:
...
where
...
glue' = map mkGlue glue
...
generated the following type error which is correct except:
1) glue' is clearly _not_ a function but the last line of the message
refers to it as a function.
(There's a small chance that things are being confused
The :load command of the ghc-5.00 interpreter
first searches the needed compiled modules (*.o) and loads them
when finds.
But how to make it to search them in the object code library
xxx/libFoo.a ?
For it is better to keep the fixed *.o files in a library.
And `:load' works in the above
Hello,
the building of nhc98-1.02 with ghc-5.00 aborts
with the message:
Main.hs:8:
Failed to find interface decl for
`PrelGHC.(#,,#)'
from module `PrelGHC'
Any hints for interpretation?
Kind regards,
Wolfhard.
The ghc interactive ghci compiles the module by the command
:! ghc -c
Has it sense to provide a command :compile (:c),
having a meaningful name and a format similar to other commands,
like say :load
?
The :load command of the ghc-5.00 interpreter
first searches the needed compiled modules (*.o) and loads them
when finds.
But how to make it to search them in the object code library
xxx/libFoo.a ?
For it is better to keep the fixed *.o files in a library.
And `:load' works in
On Thu, 26 Apr 2001, Simon Marlow wrote:
Yes, this is another thing we'd like to do, but haven't got around to
yet. (you can always define your own :compile command using :def of
course, but the benefit of a built-in one would be that it could take
advantage of the in-memroy interfaces
Simon Peyton-Jones wrote:
This is a long message about the design of implicit parameters.
In particular, it is about the interaction of the monomorphism
restriction with implicit parameters. This issue was discussed
in the original implicit-parameter paper, but I wanted to articulate
it
Jeffrey R. Lewis [EMAIL PROTECTED] argued that
the monomorphism restriction enabled translations of
let-bindungs into lambda-bindings:
let z = x + ?y in z+z
[...]
The example above becomes:
(\z - z + z) (x + ?y)
In Hindley-Milner type systems,
the point about
Hi!
We're very interested in knowing everything
(well, lots of things) about functional Programming History, and it's being very
hard to get information about it. Could you recommend us some good book or web
page to learn more about this subject?
Best regards,
Carlos, Cristina Montse
These are general FP/history and not directly Haskell, but searching
lambda.weblogs.com for history gives a bunch of hits including:
http://lambda.weblogs.com/discuss/msgReader$913
http://lambda.weblogs.com/discuss/msgReader$328
http://lambda.weblogs.com/discuss/msgReader$869
I need examples of trees please.
___
Haskell mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/haskell
Cadena Silva Andres wrote:
I need examples of trees please.
No problem!
Lemme see now...
There's oak, scarlet oak, bur oak, pin oak, northern red oak, shingle oak,
swamp white oak, pine, Scotch pine, Austrian pine, willow, white willow,
birch, redwood, mulberry, apple, cherry, black cherry,
At 2001-04-26 11:44, Cadena Silva Andres wrote:
I need examples of trees please.
Of all the trees that grow so fair,
Old England to adorn,
Greater are none beneath the Sun,
Than Oak, and Ash, and Thorn.
Sing Oak, and Ash, and Thorn, good Sirs
(All of a Midsummer morn)!
Surely we sing of
22 matches
Mail list logo