Isaac Dupree wrote:
When I try to go to one of the Module.hs files, e.g. on
darcs.haskell.org, it now has type HS and Firefox refuses to display it
(and only lets me download it). Does anyone know how to make Firefox
treat certain file types as others (HS as plain text, in particular)? so
On 10/29/07, Bulat Ziganshin [EMAIL PROTECTED] wrote:
you may also look at these data:
1,225,416 bytes allocated in the heap
152,984 bytes copied during GC (scavenged)
8,448 bytes copied during GC (not scavenged)
86,808 bytes maximum residency (1 sample(s))
3
Hello Josef,
Tuesday, October 30, 2007, 4:13:04 PM, you wrote:
201,080,832 bytes maximum residency (9 sample(s))
1681 collections in generation 0 ( 1.67s)
9 collections in generation 1 ( 13.62s)
184,320 bytes maximum residency (2 sample(s))
1908 collections in
When following the description on
http://www.haskell.org/haskellwiki/How_to_write_a_Haskell_program#Add_some_automated_testing:_QuickCheck
then darcs will run the QuickCheck tests on each 'darcs record', but the
new patch is also accepted by darcs if one of the tests fail. What is the
most
On 10/30/07, Henning Thielemann [EMAIL PROTECTED] wrote:
When following the description on
http://www.haskell.org/haskellwiki/How_to_write_a_Haskell_program#Add_some_automated_testing:_QuickCheck
then darcs will run the QuickCheck tests on each 'darcs record', but the
new patch is also
On Tue, Oct 30, 2007 at 05:24:21PM +0100, Henning Thielemann wrote:
When following the description on
http://www.haskell.org/haskellwiki/How_to_write_a_Haskell_program#Add_some_automated_testing:_QuickCheck
then darcs will run the QuickCheck tests on each 'darcs record', but the
new patch
Jules Bean wrote:
Isaac Dupree wrote:
When I try to go to one of the Module.hs files, e.g. on
darcs.haskell.org, it now has type HS and Firefox refuses to display
it (and only lets me download it). Does anyone know how to make
Firefox treat certain file types as others (HS as plain text, in
Some time ago, I posted this code:
countIO :: String - String - Int - [a] - IO [a]
countIO msg post step xs = sequence $ map unsafeInterleaveIO ((blank
outmsg (0::Int) c):cs)
where (c:cs) = ct 0 xs
output = hPutStr stderr
blank= output ('\r':take 70 (repeat '
Hello,
countIO :: String - String - Int - [a] - IO [a]
countIO msg post step xs = sequence $ map unsafeInterleaveIO
((blank outmsg (0::Int) c):cs)
where (c:cs) = ct 0 xs
output = hPutStr stderr
blank= output ('\r':take 70 (repeat ' '))
outmsg x
You mean for the IO monad, right?
take 10 $ execWriter $ sequence $ repeat $ tell ([3]::[Int])
/ Emil
On 10/30/2007 02:04 PM, Jeff Polakow wrote:
Hello,
countIO :: String - String - Int - [a] - IO [a]
countIO msg post step xs = sequence $ map unsafeInterleaveIO
((blank outmsg
Hello,
When I was downloading and installing the cygwin tool set on my
laptop, I noticed that Hugs doesn't appear to be in the toolset. What would
it take to get Hugs running on top of cygwin? I guess the Hugs Makefile
would have to be modified to correctly link in any of the cygwin Unix
Jerzy,
There is a simple framework for performing filtering operations on
images lazily:
http://sigfpe.blogspot.com/2006/12/evaluating-cellular-automata-is.html
(Scroll down to the 2D example in the comments.)
2D digital filters lend themselves nicely to a comonadic framework
though you
On 10/30/07, noa [EMAIL PROTECTED] wrote:
Hi!
I have the following function:
theRemainder :: [String] - [String] - Double
theRemainder xs xt = sum( map additional (unique xs) )
where
additional x = poccur * (inf [ppos,pneg]) --inf takes [Double]
where
On 10/30/07, Tim Chevalier [EMAIL PROTECTED] wrote:
ppos = pi/len2; pi and len2 are both Ints, so dividing them gives you
an Int. To convert to a Double, write ppos = fromIntegral (pi/len2).
(Type :t fromIntegral in ghci to see what else fromIntegral can be
used for.)
You mean pi /
Hi!
I have the following function:
theRemainder :: [String] - [String] - Double
theRemainder xs xt = sum( map additional (unique xs) )
where
additional x = poccur * (inf [ppos,pneg]) --inf takes [Double]
where
xsxt = zip xs xt
pi =
On 10/30/07, Tim Chevalier [EMAIL PROTECTED] wrote:
On 10/30/07, noa [EMAIL PROTECTED] wrote:
Hi!
I have the following function:
theRemainder :: [String] - [String] - Double
theRemainder xs xt = sum( map additional (unique xs) )
where
additional x = poccur * (inf
i have decided to take on the task of packaging-up (for hackage) and
documenting the curl bindings as available here:
http://code.haskell.org/curl/
if the originators of this code are reading this and do not wish me to
proceed please say so, i won't be offended
otherwise i was wondering if
I forgot to send this reponse to haskell-cafe earlier...
Hello,
You mean for the IO monad, right?
Sorry. I meant divergence is unavoidable for any strict Monad, such as IO.
However, sequence will always compute over the entire list; if the
resulting computation itself is lazy then the
18 matches
Mail list logo