://www.cin.ufpe.br/~haskell/hwsproxygen/
HWSProxyGen was conceived and implemented in the Informatics Center of the
Federal University of Pernambuco, Brazil, by:
- Andre W. B. Furtado
- Andre L. M. Santos
- Carlos A. G. Ferraz
- Gustavo A. Santos
- Adeline S. Silva
- Carla M. P. Nascimento
Cheers,
-- AFurtado
We are pleased to announce an alpha/preview version of VHS (Visual Haskell),
which integrates the Haskell functional language with the Microsoft Visual
Studio .NET 2003 IDE, and VHS-AM, which allows the use of VHS with the
Microsoft Assignment Manager tools.
This preview version supports:
-
Christian Maeder wrote:
[compilation] failed in the directory hood,
because the target boot is unknown there.
Could/Should this be fixed?
BTW, nofib is also breaking the fptools suite compilation.
Cheers,
-- AFurtado
___
Haskell mailing list
[EMAIL
Who is actually responsible for the Haskell HTTP and Browser modules
(http://homepages.paradise.net.nz/warrickg/haskell/http/)? The e-mail
indicated in the site (oinutter [at] hotmail.com) is returning...
Thanks,
-- Andre
___
Haskell mailing list
,
-- Andre
- Original Message -
From: Simon Peyton-Jones [EMAIL PROTECTED]
To: Andre Santos [EMAIL PROTECTED]; Andre W B Furtado
[EMAIL PROTECTED]
Cc: GHC bugs [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Monday, February 23, 2004 8:23 AM
Subject: RE: [Vhs-ufpe] problems building GHC from
Hi,
In July 2003, a discussion in this list named locating package.conf
(http://www.haskell.org/pipermail/glasgow-haskell-users/2003-July/005511.htm
l) concluded that make install on Windows is not supported. Has this
evolved since then?
Thanks,
-- Andre
Hi,
In the Building the Glasgow Functional Programming Tools Suite, chapter
12, Notes for building under Windows
(http://www.haskell.org/ghc/docs/6.2/html/building/winbuild.html), it is
said: Install an executable Happy, from http://www.haskell.org/happy;. The
latest version of happy in its
Does anyone know if Haskell is/was used to develop educative games? Do you
recommend some papers on the subject?
Thanks a lot,
-- Andre Furtado
___
Haskell mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/haskell
Does anyone know if Haskell is/was used to develop educative games? Do you
recommend some papers on the subject?
Thanks a lot,
-- Andre Furtado
___
Haskell mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/haskell
Is it possible replace the question mark in the following code in order to
make defaultMyType return a don't care value for b?
data MyType t = MyType { a :: Int, b :: t}
defaultMyType :: MyType
defaultMyType = MyType {a = 0, b = ?}
Cheers,
-- Andre
The following line:
foreign import shutdownHaskellAndExit :: Int - IO ()
causes a compiler warning: foreign declaration uses deprecated non-standard
syntax
Which is the correct way to use a foreign declaration?
Thanks,
-- Andre
___
I'm guessing you're using the current release of Hugs. It doesn't
implement
the Haskell98 module system really, [...]
This answers my question, indeed. Thank you all. (compiling the code with
GHC was ok!)
-- Andre
___
Haskell mailing list
[EMAIL
Andre W B Furtado wrote:
[Haddock cannot find perl]
This works for me, but I'm not a Cygwin/Windows expert so I'm not sure
what the canonical answer should be. On my system I have the Cygwin
perl.exe in /cygwin/bin, and this is also /bin under cygwin, because by
default Cygwin seems
The INSTALL file that comes with the objectIO files says that one must use
the following commands to register the package:
$ ghc-pkg -r objectio
$ ghc-pkg -a objectio -f pckg.cfg
The second command is not recognized as a valid one, and the ghc-pkg help
appears showing the correct syntax. I
of 24-bit bitmap files;
* Some debugging and game performance evaluation facilities;
* Sound support (actually for windows platforms only... :-[ )
You can download and find more info about FunGEn in:
http://www.cin.ufpe.br/~haskell/fungen
Your feedback is highly welcome! Nice coding...
-- Andre W
While trying to install GHC-5.02.3 (win32 release) in my computer (Windows
98), I got the following error message:
Error 1406: Could not write value _MainFeature to key
HKEY_LOCAL_MACHINES\Software\Microsoft\Windows\CurrentVersion\Installer\Feat
ures\8C655693FA0801D4E87FA1CA60C4AAE1
Verify that
I was visiting http://www.ai.mit.edu/extra/icfp-contest/ and noticed that
there was a functional programming contest in ICFP 98. I'd like to know if
there are any periodic functional progamming contests around the world, such
as the ACM contest for the C language.
-- Andre
Is it possible to get the result of function happyError, in the main module
of my program (which imports the module generated by Happy)?
Thanks a lot,
-- Andre
___
Haskell mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/haskell
the function
randomRIO :: (a,a) - IO a
defined in module Random gives you a random number between the two input
parameters (including themselves).
-- Andre
- Original Message -
From: Peter Rooney [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, March 28, 2002 3:05 AM
Subject:
I found the following text when visiting the Clean (a functional language)
site:
Clean is the only functional language in the world which has a special type
system, uniqueness typing. It enables to update function arguments
destructively retaining the purity of the language.
Then I have some
If I have:
data MyType = MT {
x :: Int,
y :: Char
}
How do I update the Int value of MyType leaving the Char value unaffected? I
tryied something like:
MT {x = newValue}
but GHC gave me a warning about the Char value and it indeed caused strange
effects. Of course, it is
Another question about labelled types, this time concerning about
efficiency: is there any efficiency differences between functions f and g
below?
data RType = R Int Char
data Stype = S {x :: Int, y :: Char}
f :: RType - Int
f (R x _) = x
g :: SType - Int
g s = x s
Thanks again,
--
What is the effect of using the strip command with the files generated by
ghc (besides reducing the file size)?
-- Andre
___
Glasgow-haskell-users mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users
Is is possible to declare a generic type without using data or newtype?
For example, I woud like that pair is a type synonym for (t,t) where t
is a generic type, but just saying:
type pair = (t,t)
won't work: i get a parse error.
Thanks,
-- Andre
liftIOtoMyMonad_ :: IO () - MyMonad ()
liftIOtoMyMonad_ m = liftIOtoMyMonad' (const m) ()
I'm having problems compiling this one: The last statement in a 'do'
construct must be an expression
___
Haskell mailing list
[EMAIL PROTECTED]
[answering myself...]
liftIOtoMyMonad_ :: IO () - MyMonad ()
liftIOtoMyMonad_ m = liftIOtoMyMonad' (const m) ()
I'm having problems compiling this one: The last statement in a 'do'
construct must be an expression
The problem is not related with liftIOtoMyMonad_ , but with
Hal Daume III wrote:
I'm not sure exactly what you mean. Say I have something like that, then
what's the difference between saying:
f = do { action1;
action2;
action3 }
and simply
f = do action3
?
If the result of each of the actions is ignored for the following
Hal Daume III wrote:
I'm not sure exactly what you mean. Say I have something like that, then
what's the difference between saying:
f = do { action1;
action2;
action3 }
and simply
f = do action3
?
If the result of each of the actions is ignored for the following
Roughly speaking, I'm in need of a monad (say MyIO) that interprets the
following code
f :: MyIO ()
f = do
action1
action2
action3
...
return ()
as applying action1 to g, then action2 to the SAME g (not the result of
action1) and so on...
Of course,
What's the difference between unIO and unsafePerformIO? And why is the
former safe? (I would like to apply the same questions to unsafeIOToST and
ioToST)
Thanks,
-- Andre
___
Glasgow-haskell-users mailing list
[EMAIL PROTECTED]
In the following code, will other things be executed or the return ()
will end function f? I guess the answer is yes (other things WILL be
executed anyway), but I'd like to understand why won't the return () be
the [state change/result produced] created by f.
f :: IO ()
f = do
-- lots of
How do I find the implementation of the module ST?
In the GHC documentation, I can only find the signatures of the
functions.
Just check this monad tutorial (attached). It's really great for beginners.
-- Andre
---BeginMessage---
-- Forwarded message --
Date: Tue, 05 Jun 2001 11:26:12 -0300
From: Andre Santos [EMAIL PROTECTED]
Newsgroups: depto.cursos.grad.if098
Subject: Monads for the Working
Well, it's also possible to interchange data between these two monads by:
unsafeIOToST :: IO a - ST s a
stToIO :: ST s a - IO a
Can anyone tell the possible problems related to
unsafeIOToST?
^^
-- Andre
- Original Message -
From: Tom Bevan [EMAIL PROTECTED]
To: Andre W B Furtado
I just would like to report that, if you have
GHC-5.02 installedand want to install GHC-5.02.1 (under Windows), you'll
need to uninstall GHC-5.02 first, otherwise the InstallShield for GHC-5.02.1
won't work as expected. Is this a bug?
-- Andre
Turn down the context switching time and/or the delta between
profiling samples, e.g., to get the max amount of data, do
prog +RTS -h -C0 -i0
When I did this, the size of the .ps file increased, but I'm still getting
an empty graph... Can anyone compile the following simple program with
If module A imports B, and if B was compiled without the profiling options
(but A was), is the final program expected to abort (illegal operation or
something like that)? If it is, why?
-- Andre
___
Glasgow-haskell-users mailing list
[EMAIL
If module A imports B, and if B was compiled without the
profiling options
(but A was), is the final program expected to abort (illegal
operation or
something like that)? If it is, why?
You must compile (and link) the whole program with -prof, because that
option changes certain
Can anyone explain me the following
error?
fatal error: scavenge: unimplemented/strange
closure type 0 @ 08C03FD0
(this happened with a program that reads and do
some manipulations in a 3MB bitmap file, using HOpenGL-1.01 and
GHC-5.02under Windows 98 + Cygwin)
Thanks,
-- Andre
The link to The Graph Visualisation Tool daVinci, in GHC profiling
documentation
(http://www.haskell.org/ghc/docs/latest/set/prof-xml-tool.html), seems to be
broken. I think the link should point to
http://www.informatik.uni-bremen.de/daVinci/
-- Andre
The following code works...
= \x y - (x+y - length [1..(gcd x y)] = round (((fromIntegral
x)+1)/2) )
-- Andre
hello,
Does anybody know why it is not possible to define the folowing function
in ghc?
= \x y - (x+y - length [1..(gcd x y)] = round ((x+1)/2)) )
The message
I was trying to compile a .hs file with the profiling option enabled
(-prof -auto-all) but I got an error message:
/usr/bin/ld: cannot find -lHSstd_p_imp
collect2: ld returned 1 exit status
Does anyone know what is this -lHSstd_p_imp? I am using GHC-4.08.1 (with
Cygwin) under a Windows 98
I had GHC-4.08.1 installed in my computer (which runs under a Windows98
platform), and then I decided to install GHC-5.00.2 (this was its latest
version at that time). It is said that GHC-5.00.2 can co-exist with other
versions of GHC under a Windows platform, because it does not use cygwin
Now things really got worse... when I try to use GHC-4.08.1, I got the
following message:
ghc: permission denied
ghc: not found
make[1]: *** [depend] Error 127
How can I use the old GHC-4.08.1 back again? I have some APIs that still
need it...
Thanks,
-- Andre
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
I'm trying to create a fast program in Haskell that reads the content of a
file, do some stuff with its characters (one by one) an then save the final
result (the modified characters) in another file. The fastest program I've
developed so far is:
main :: IO ()
main = do
bmFile - openFileEx
- Original Message -
From: Albert Lai [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, October 18, 2001 9:42 PM
Subject: Re: Working character by character in Haskell
Andre W B Furtado [EMAIL PROTECTED] writes:
[...]
For example, suppose function doSomeStuffWith returns its own
I'm trying to create a fast program in Haskell that reads the content of a
file, do some stuff with its characters (one by one) an then save the final
result (the modified characters) in another file. The fastest program I've
developed so far is:
main :: IO ()
main = do
bmFile - openFileEx
- Original Message -
From: Albert Lai [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, October 18, 2001 9:42 PM
Subject: Re: Working character by character in Haskell
Andre W B Furtado [EMAIL PROTECTED] writes:
[...]
For example, suppose function doSomeStuffWith returns its own
There are some nice examples (binaries) of [Haskell + HOpenGL] programs at:
www.cin.ufpe.br/~haskell/hopengl/examples.html
I think they may be of interest to the community because they confirm that
it's really possible to use Haskell in the development of complex, fast and
robust graphic
to allowing subscriber-only posting, and I
got a small number of responses, which were split roughly 50/50 so no
action was taken.
I think moving the list to allowing subscriber-only posting may cause some
trouble to the subscribers too... (now there isn't a 50/50 split anymore
) )
Andre W B
If I open a file using openFile from the IO module
(x - openFile foo.txt ReadMode)
and convert it to a String via hGetContents
(y - hGetContents x)
and finally try to print the file on the screen
(putStrLn y)
I'll get a strange result if the file contains the character 1A-hexadecimal
(or
Is there any interest out there in creating a
HOpenGL mailing list?
Thanks,
Andre W B Furtado
WAS moved. Unfortunately, the "motionFunc" and "passiveMotionFunc" are
related to the new position of the mouse cursor, rather than the mouse
movement... (in the Allegro library, this is solved by a thing
called"mouse mickeys").
Thanks a lot,
Andre W B Furtado
Can anyone give me a brief explanation (or show me
where in the web I can find some info) about using the profiling library in GHC?
Is it avaible for Windows 98/NT?
Thanks in advance,
Andre W B Furtado
Why hbc did not succeeded? It is still possible to make it reach Haskell 98?
Or why doesn't ghc uses some of its techniques to compile/run programs
faster?
Andre W B Furtado
___
Haskell mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman
at:
www.cin.ufpe.br/~haskell/hopengl/
Thank you,
Andre W B Furtado
.
- Original Message -
From: Simon Marlow [EMAIL PROTECTED]
To: Andre W B Furtado [EMAIL PROTECTED]; [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Wednesday, April 25, 2001 7:57 AM
Subject: RE: running for long enough...
About the program below, someone (I think Simon
[I mean "CONCURRENT Haskell" rather than "Haskell DIRECT" in the last
email. Sorry.]
---
I am trying to create a program that prints
interleaved sequences of'a'sand 'z's, using Haskell Direct (under
GHC). I've tryied the following:
import Concurrent
main :: IO()main = let loop ch =
ram prints only 'z's, and no
'a's.I was surprised by this, since GHC uses preemptive multitasking, not
cooperative multitasking. Does anyone knows what's going wrong?
Thanks,
Andre W b Furtado
[Sorry if you are receiving this message for the
second time]
Hello there. I used the code below to read and
print the bitmap file attached (bitmap.bmp), which cointains the character ASCII
26 (or 1A-hexa), that is used as an end of file marker in MS-DOS:
import IOimport IOExts
main :: IO
Hello there. I was trying to
read a bitmap file using hGetChar but I had a problem: if the file contains the
byte 26-decimal (or 1A-hexa) the program aborts. Here you have the
output:
Fail: end of file
Action: hGetChar
Since hGetChar is implemented
with getc, I created a similar program
Hello there. I was trying to
read a bitmap file using hGetChar but I had a problem: if the file contains the
byte 26-decimal (or 1A-hexa) the program aborts. Here you have the
output:
Fail: end of file
Action: hGetChar
Since hGetChar is implemented
with getc, I created a similar program
Hi out there. I would really appreciate if anyone
can tell me if there exists any haskell/hugs library that can PLAY midi files
during the execution of a program. Unfortunately, the FRAN library is limitated
to wav files... Pleasereply to [EMAIL PROTECTED].
Thanks a lot.
Andre W B Furtado
Hi out there. I would really appreciate if anyone
can tell me if there exists any haskell/hugs library that can PLAY midi files
during the execution of a program. Unfortunately, the FRAN library is limitated
to wav files... Pleasereply to [EMAIL PROTECTED].
Thanks a lot.
Andre W B Furtado
65 matches
Mail list logo