I wrote:
Not exactly. A TimeZone in Data.Time doesn't really
represent a time zone - it represents a specific clock setting
in a time zone.
Ashley Yakeley wrote:
I still regret this! I should have called it TimeOffset or somesuch.
Oh, it's not your fault. Every other time library in the
On Mon, 2011-07-04 at 10:38 +0300, Yitzchak Gale wrote:
Leap second data is there too, so it should be possible to create a
Data.Time.Clock.TAI.LeapSecondTable from it.
No, unfortunately. There is a place in the data structure
for leap second information, but no live Olson
file has every
Hi Haskell Cafe,
I've defined the following reverse echo server that echos text back in
reverse:
module Programs.TcpEchoIterServer where
import Control.Concurrent
import Control.Exception
import Control.Monad
import Control.Monad.Trans
import Data.IterIO
import Data.IterIO.Inum
import Network
Hi,
I am trying to install Haskell Platform on latest Ubuntu desktop:
( uname -a:
Linux frigate 2.6.38-8-generic #42-Ubuntu SMP Mon Apr 11 03:31:24 UTC 2011
x86_64 x86_64 x86_64 GNU/Linux )
I started with installing GHC. Ubuntu could only install version 6.12.3:
without Cabal!
Now I am trying to
Hello,
I encountered the same kind of problems with the dependencies, GHC 6.12
etc.
I dropped the idea of installing Haskell Platform with synaptic. I
installed it manually and I don't have any problem since then.
I installed first a precompiled binary version GHC 7 then the Haskell
On Mon, Jul 4, 2011 at 2:38 AM, Jason Dagit dag...@gmail.com wrote:
(I believe the way the FFI works I'll have
to make a new wrapper for each thing because I can't directly call
objective-c).
Probably, yes.
I suppose I should try adding wrappers around all the GLFW functions
so that it
At Mon, 4 Jul 2011 20:36:33 +1000,
John Ky wrote:
Hi Haskell Cafe,
enum |$ inumLines .| inumReverse .| inumUnlines .| iter
...
iterLines :: (Monad m) = Iter L.ByteString m [L.ByteString]
iterLines = do
line - lineI
return [line]
iterUnlines
Sounds like something that could use a GHC Trac feature request.
Edward
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe
On Sun, Jul 3, 2011 at 10:02 PM, Jason Dagit dag...@gmail.com wrote:
Hello,
I'm trying to get some GUI code working on OSX and numerous forums
around the internet keep reiterating that on OSX to correctly handle
GUI events you need to use the original thread allocated to your
process to
Adrien Haxaire adrien at adrienhaxaire.org wrote:
I dropped the idea of installing Haskell Platform with synaptic. I
installed it manually and I don't have any problem since then.
To install GHC 7, have you completely de-installed GHC 6.12.3 and all
related libraries ?
On Mon, Jul 4, 2011
No, you shouldn't need to do that.
Just download the Haskell Platform and GHC 7:
http://lambda.galois.com/hp-tmp/2011.2.0.1/haskell-platform-2011.2.0.1.tar.gz
http://haskell.org/ghc/dist/7.0.3/ghc-7.0.3-i386-unknown-linux.tar.bz2
Extract ghc, change into the directory, run configure, then make
To install GHC 7, have you completely de-installed GHC 6.12.3
and all related libraries ?
I am not sure if uninstalling GHC 6.12.3 is mandatory, but I did it to
have a clean Haskell installation.
Then I did what anonymous has summarized below:
Just download the Haskell Platform and GHC
On Mon, Jul 4, 2011 at 6:24 PM, anonymous qubi...@gmail.com wrote:
No, you shouldn't need to do that.
Just download the Haskell Platform and GHC 7:
http://lambda.galois.com/hp-tmp/2011.2.0.1/haskell-platform-2011.2.0.1.tar.gz
You're welcome :)
Adrien
On Mon, 4 Jul 2011 19:09:50 +0400, Dmitri O.Kondratiev wrote:
I noticed that )
I removed GHC 6 completely. Then installed platform-independent GHC 7
compiler.
Next to configure and eventually compile Haskell Platform I had to
install libgmp3-dev, zlib and OpenGL
Hi,
For the following error:
Stack space overflow: current size 8388608 bytes.
Use `+RTS -Ksize -RTS' to increase it.
I want to find out the culprit function and rewrite it tail-recursively. Is
there a way to find out which function is causing this error other
than reviewing the code manually?
Profile!!
E.g.
http://stackoverflow.com/questions/6429085/haskell-heap-issues-with-parameter-passing-style/6429888#6429888
On Mon, Jul 4, 2011 at 11:44 AM, Logo Logo sarasl...@gmail.com wrote:
Hi,
For the following error:
Stack space overflow: current size 8388608 bytes.
Use `+RTS
You can use the heap profiling options in GHC to find out what is using all
the memory. You'll want to compile with -prof and -rtsopts, and then invoke
the program with +RTS -hx, where x is one of 'c', 'y', or a few others.
Then run hp2ps on the resulting .hp file to get a graph of what's using
On 4 July 2011 16:44, Logo Logo sarasl...@gmail.com wrote:
Hi,
For the following error:
Stack space overflow: current size 8388608 bytes.
Use `+RTS -Ksize -RTS' to increase it.
I want to find out the culprit function and rewrite it tail-recursively. Is
there a way to find out which
I just uploaded a new version of doctest[1] to Hackage.
WHAT IS doctest?
doctest is a port of Python's doctest[2] to Haskell. It can be used to
verify, that examples in Haddock comments[3] do still work. This also
provides you with a simple mechanism to write unit test,
Hi Don,
I find this answer confusing. The SO question you're linking to is about
heap size, not stack overflow.
The stack size in this example is 8M. The whole heap size may be much
bigger (and increasing the stack size may actually remove the overflow).
It would be interesting to learn about
From: Logo Logo sarasl...@gmail.com
Hi,
For the following error:
Stack space overflow: current size 8388608 bytes.
Use `+RTS -Ksize -RTS' to increase it.
I want to find out the culprit function and rewrite it tail-recursively. Is
there a way to find out which function is causing this
Hi,
NVIDIA's CUDA library seems to be really hot in the massively parallel
world: http://www.nvidia.com/object/cuda_home_new.html. I realize that given
CUDA seems to be implemented in an extension of ANSI C that it is pervaded
by statefulness. However, is there any effort to build a bridge
There's a lot of active work:
Direct access to CUDA: http://hackage.haskell.org/package/cuda
CUDA in Haskell: http://hackage.haskell.org/package/language-c-quote
Direct access to OpenCL: http://hackage.haskell.org/package/OpenCLRaw
High-level pure data parallelism targetting your GPU:
Call for Talks
ACM SIGPLAN Haskell Implementors' Workshop
http://haskell.org/haskellwiki/HaskellImplementorsWorkshop/2011
Tokyo, Japan, September 23rd, 2011
The workshop will be held in conjunction with ICFP 2011
All,
I have decided it would be beneficial to split System.Crypto.Random
and the rest of crypto-api into different packages. Is there I way I
can create a package, entropy, with System.Crypto.Random but
continue to expose that module from crypto-api (allowing people who
use that module some time
25 matches
Mail list logo