Hi all!
I have been thinking about the scoping issues for imported names. Of
course, this musing is ispired by the formal static semantics I have
been working on, but it is also prompted by the revised Haskell report.
Section 5.5.2 relates to name clashes and has an interesting example
towards
Karl-Filip Faxen wrote
Section 5.5.2 relates to name clashes and has an interesting example
towards the end:
module F where
sin :: Float - Float
sin x = (x::Float)
f x = Prelude.sin (F.sin x)
where the type signature refers to the local sin rather than the imported
Hello again,
Wolfgang wrote
The Haskell report seems to be inconsistent here (once again). In the
beginning of section 5.3 it says
Imported names serve as top level declarations: they scope over the entire
body of the module but may be shadowed by local NON-TOP-LEVEL bindings.
HOpenGL has its own mailing list now:
http://haskell.org/mailman/listinfo/hopengl
Thanks to Simon Marlow for setting it up.
HOpenGL is a Haskell binding for the OpenGL graphics API and the
portable OpenGL utility toolkit GLUT. It provides easy access to
*the* industrial-strength rendering
Hi everyone,
during the weekend I tried unsuccesfully to install
the graphics library:
(My system: FreeBSD, gmake-3.79.1, hugsFeb2000)
# gmake -C graphics-2.0.3/lib/x11
gmake: Entering directory
`/root/graphics-2.0.3/lib/x11'
cc -I /usr/X11R6/include StdDIS.c -c
cc -shared -nostdlib -L
Hello!
Well, it's not that simple currently. Name clashes are only illegal if they
lead to unresolvable references. Thus if we have
Intricate, indeed. I didn't expect to be able to define a function
which I cannot reference with its unqualified name.
What I'm driving at is this: I
Hat 1.10 and nhc98 1.10
---
http://www.cs.york.ac.uk/fp/nhc98/
We are pleased to announce a new release 1.10 of Hat (the Haskell
Tracing system), and the nhc98 compiler. This is a bugfix release.
Its main feature is that
What do you all think about activating the mechanism that automatically
includes the name of the list before the subject of a mailing list email?
For example:
[hugs-users] Installation problems or [haskell] newbie question. I think
this would be a nice way to make massages more organized and help
On Tue, 23 Oct 2001, Andre W B Furtado wrote:
What do you all think about activating the mechanism that automatically
includes the name of the list before the subject of a mailing list email?
I like the idea.
For example:
[hugs-users] Installation problems or [haskell] newbie question. I
On Tue, 23 Oct 2001 00:38:23 -0400 (EDT), Mark Carroll wrote:
On Tue, 23 Oct 2001, Andre W B Furtado wrote:
What do you all think about activating the mechanism that automatically
includes the name of the list before the subject of a mailing list email?
I like the idea.
I guess it helps.
On Tue, 23 Oct 2001, Andre W B Furtado wrote:
What do you all think about activating the mechanism that automatically
includes the name of the list before the subject of a mailing list email?
For example:
[hugs-users] Installation problems or [haskell] newbie question.
Great. It would
I'm sending this to the list, because I did not get much
satisfaction from the
SourceForge bug-tracking tool.
I have just encountered a GHC bug similar to the one numbered
231631 on
SourceForge.
I have some further observations about it, and a small tar
file (attached)
showing how
Hello,
Im relativly new at this, when i tried to compile i got this message:
-
ghc-5.00.2: panic! (the `impossible' happened, GHC version 5.00.2):
does not exist
Action: openFile
Reason: dangling symlink
File:
Here's another one, using GHC 5.02
[ian@urchin current]$ cat W.lhs
module Main where
main :: IO()
main = putStrLn $ show $ last [1..10]
[ian@urchin current]$ ghc W.lhs -prof -auto-all -o W
[ian@urchin current]$ ./W +RTS -h
10
[ian@urchin current]$ ./W +RTS -c
George
For a change, this is your fault! You wrote:
let
minus :: Int - Int - Int
minus = (-)
toRValue :: Int - Radio value
toRValue -1 = NoRadio -- (*)
toRValue i = ...
Alas, the line marked (*) defines the infix operator (-). So
Am 22. Oct 2001 um 12:56 MET DST schrieb Simon Marlow:
The call doesn't block, because the socket is set to non-blocking mode.
Or have you perhaps observed different behaviour? It works here.
Okay, I'm stupid. I can clearly see the 'threadWaitRead' statement now.
--
Volker Stolz * [EMAIL
Marcin 'Qrczak' Kowalczyk wrote:
What a pattern matches is independent from which of the variables
it binds are used.
The pattern [a,b,c], or equivalently a::b::c::[], matches lists of
length 3.
(...)
... unless it matches lazily, as in
let [a,b,c] = [1,2,3,4] in let [a,b,c]
To whome it may concern,
I am currently involved in project using haskell to create a sample
time table for a company. I am a newcomer to haskell and would
like some help with creating an table for such a project which will
print to screen. The data contained needs to be accessible in that I
18 matches
Mail list logo