I ran the testsuite against the current HEAD (as of saturday afternoon)
and had far fewer failures. Is the last week's work supposed to have
fixed so many test cases? Or are different machines giving different
results? The tests that resulted in unexpected failures for greg were
all run on my
On 8/27/06, Neil Mitchell [EMAIL PROTECTED] wrote:
[Moving to haskell-cafe]
Hi,
I want to know if it exists a null instruction (a instruction
that do anything
Not really, since instructions don't do anything anyway - they only
compute values.
If you are in the IO monad then return () is
On 8/27/06, John Hughes [EMAIL PROTECTED] wrote:
Hi, I use the operation 'readFile' for obtain information locates on
a file. When I try to write another information on the same file, I
obtain this error message: openFile: permision denied. I found this:
The readFile operation holds a
L. J. wrote:
Hi, I use the operation 'readFile' [...]
How can I break that semi-closed handle for to write in the
preaviously readed file? Thank you.
Not at all. But you can get the same effect you get from 'readFile' if
you use 'openFile' and 'hGetContents'. If you do the latter, you can
On 8/27/06, L. J. [EMAIL PROTECTED] wrote:
On 8/27/06, John Hughes [EMAIL PROTECTED] wrote:
Hi, I use the operation 'readFile' for obtain information locates on
a file. When I try to write another information on the same file, I
obtain this error message: openFile: permision denied. I
On 8/27/06, Donald Bruce Stewart [EMAIL PROTECTED] wrote:
djsenda:
Hi, I use the operation 'readFile' for obtain information locates on
a file. When I try to write another information on the same file, I
obtain this error message: openFile: permision denied. I found this:
The readFile
Hello L.,
Sunday, August 27, 2006, 12:43:24 PM, you wrote:
length s `seq` writeFile f (hello++s)
length mates_str `seq` return ()
it's the same. i recommend you to use:
return $! tail mates_str
$! defined as
f$!x = x `seq` f x
'tail' should be slightly faster than 'len'
--
Best
Bulat Ziganshin wrote:
length mates_str `seq` return ()
it's the same. i recommend you to use:
return $! tail mates_str
'tail' should be slightly faster than 'len'
...but also slightly less correct. You probably meant 'last'. (But
it's still an ugly and dangerous programming
Hello John,
Sunday, August 27, 2006, 5:45:21 PM, you wrote:
return $! tail mates_str
But you need to evaluate the result of readFile all the way to the end--you
need to use a function that traverses the entire file contents. Otherwise
the file will be left open to read the bit you haven't
Hi all Haskeleers
I am pleased to announce AutoForms release 0.2. AutoForms is a library
to ease the creation of Graphical User Interfaces (GUI). It does this by
using generic programming (SYB) to construct GUI components. See the
full description at http://autoforms.sourceforge.net/ .
Any
Hi everyone,
Here is a short status report of the Port Haddock to use GHC Summer of
Code project, which is now over.
Part 1), the GHC modifications, are finished and will be included in the
GHC head repository as soon we have made sure that they don't cause any
significant slowdowns.
Part 2),
Hi,
I remember once reading a paper by SPJ about Optimistic Evaluation that
is somewhere between lazy and strict. If I remember correctly, they even
implemented it in GHC. Now, it seems that current version of GHC doesn't
support optimistic evaluation (not even as an optional feature), so my
L. J. wrote:
Hi, I use the operation 'readFile' for obtain information locates on
a file. When I try to write another information on the same file, I
obtain this error message: openFile: permision denied. I found this:
The readFile operation holds a semi-closed handle on the file until
the
On Sun, Aug 27, 2006 at 05:51:34PM -0400, Lajos Nagy wrote:
I remember once reading a paper by SPJ about Optimistic Evaluation that
is somewhere between lazy and strict. If I remember correctly, they even
implemented it in GHC. Now, it seems that current version of GHC doesn't
support
Am Sonntag, 27. August 2006 01:02 schrieb Daniel Fischer:
Extremely odd,
today ghc 6.4.2 (also on linux) works for me, too:
Prelude InfixR show (A `And` A)
A `And` A
Prelude InfixR show (And A A)
A `And` A
Prelude InfixR read (show (And A A)) :: T
A `And` A
Prelude InfixR read And A A ::
15 matches
Mail list logo