This could be useful: Beautiful concurrency by Simon Peyton Jones
http://research.microsoft.com/en-us/um/people/simonpj/papers/stm/beautiful.pdf
On 29 July 2010 02:23, Eitan Goldshtrom thesource...@gmail.com wrote:
Hi everyone. I was wondering if someone could just guide me toward some good
On 28 July 2010 23:32, Gregory Collins g...@gregorycollins.net wrote:
Conrad Parker con...@metadecks.org writes:
Hi,
I am reading data from a file as strict bytestrings and processing
them in an iteratee. As the parsing code uses Data.Binary, the
strict bytestrings are then converted to
Maybe even write a blog about how it works?
A whole blog is probably unnecessary ;) But a blog *post* would be nice!
--
Underestimating the novelty of the future is a time-honored tradition.
(D.G.)
___
Haskell-Cafe mailing list
On 29 jul 2010, at 05:04, David Place wrote:
Hi, Doaitse.
I am making good progress transcribing my parser to use your library. I
think some ways that I have grown accustomed to working with Parsec will not
work, though. Now, I am getting the run time error:
Result: ***
On 29 July 2010 07:53, Conrad Parker con...@metadecks.org wrote:
Something smells fishy here. I have a hard time believing that binary is
reading more input than is available? Could you post more code please?
The issue seems to just be the return value for bytes consumed from
I'm having an unusual problem with OpenGL. To be honest I probably
shouldn't be using OpenGL for this, as I'm just doing 2D and only
drawing Points, but I don't know about any other display packages, so
I'm making due. If this is a problem because of OpenGL however, then
I'll have to learn
On 29 July 2010 17:46, Duncan Coutts duncan.cou...@googlemail.com wrote:
On 29 July 2010 07:53, Conrad Parker con...@metadecks.org wrote:
Something smells fishy here. I have a hard time believing that binary is
reading more input than is available? Could you post more code please?
The issue
On Thu, 2010-07-29 at 19:01 +0900, Conrad Parker wrote:
On 29 July 2010 17:46, Duncan Coutts duncan.cou...@googlemail.com wrote:
On 29 July 2010 07:53, Conrad Parker con...@metadecks.org wrote:
Something smells fishy here. I have a hard time believing that binary is
reading more input
Hello Chris,
thanks for the examples. They show that by adding anchors, the meaning
of regular expressions is no longer compositional. For example (^|a)
accepts the empty word only if no characters have been read yet. So
(^|a) =~
does hold but
a(^|a) =~ a
does not hold
2010/7/29 Eitan Goldshtrom thesource...@gmail.com:
I'm having an unusual problem with OpenGL. To be honest I probably shouldn't
be using OpenGL for this, as I'm just doing 2D and only drawing Points, but
I don't know about any other display packages, so I'm making due. If this is
a problem
On Thu, Jul 29, 2010 at 3:49 AM, Eitan Goldshtrom
thesource...@gmail.com wrote:
Perhaps you guys could help me with Cabal now though? I'm
trying to install Orc but it wants base=4.2 and =4.3 and I have 4.1 after
installing the latest release of GHC. Cabal won't upgrade the base. It
complains
On Thu, 2010-07-29 at 19:17 +0900, Conrad Parker wrote:
On 29 July 2010 19:13, Duncan Coutts duncan.cou...@googlemail.com wrote:
On Thu, 2010-07-29 at 19:01 +0900, Conrad Parker wrote:
On 29 July 2010 17:46, Duncan Coutts duncan.cou...@googlemail.com wrote:
On 29 July 2010 07:53, Conrad
You might try pulling downloading the package ('cabal fetch org' will do
this) and changing the base dependency (to = 4.1) in the orc.cabal file and
then build it manually (cabal configure cabal build cabal install
(while in the same directory as the .cabal file)) and see what happens.
I don't
Yeah, using openGL Points to draw 2D images will probably be pretty slow.
However, if you don't need to change your points every frame, a display list
might improve the speed quite a bit (you could still transform the points as
a whole).
Also, you could try the SDL bindings for haskell:
If you still want to use glVertex with GL_POINTS, instead of a display
list, you'd better go with vertex array or VBO.
But still, if the implicit coordinates of a raster is assumed, pairing
the coordinates with their value is overkill.
Cheers,
Thu
2010/7/29 Job Vranish job.vran...@gmail.com:
On Thu, Jul 29, 2010 at 6:53 AM, Job Vranish job.vran...@gmail.com wrote:
You might try pulling downloading the package ('cabal fetch org' will do
this) and changing the base dependency (to = 4.1) in the orc.cabal file
cabal also has an 'unpack' command for the particularly lazy (me). Ex:
Yep, no surprise there. I would suggest using bitmap[1] to construct
your bitmap, and bitmap-opengl to put it into an OpenGL texture and
draw it on a textured quad. I think OpenGL is actually an OK choice
for this application, because it is the most portable graphics method
we have available.
On Wed, Jul 28, 2010 at 8:38 PM, Max Cantor mxcan...@gmail.com wrote:
I have a similar issue, I think. The problem with attoparsec is it only
covers the unmarshalling side, writing data to disk still requires manually
marshalling values into ByteStrings. Data.Binary with Data.Derive provide
On Thu, Jul 29, 2010 at 6:15 AM, Duncan Coutts duncan.cou...@googlemail.com
wrote:
No idea what WrappedByteString is.
WrappedByteString is a newtype wrapper around ByteString that has a phantom
type. This allows instances of to be written such that ByteString can be
used with the iteratee
On 2010-07-29 11:30 -0600, Luke Palmer wrote:
If you are trying to redraw in realtime, eg. 30 FPS or so, I don't
think you're going to be able to. There is just not enough GPU
bandwidth (and probably not enough CPU).
Updating an 800x600 texture at 30fps on a somewhat modern system is
On Thu, Jul 29, 2010 at 10:35 AM, Jason Dagit da...@codersbase.com wrote:
On Thu, Jul 29, 2010 at 6:15 AM, Duncan Coutts
duncan.cou...@googlemail.com wrote:
No idea what WrappedByteString is.
WrappedByteString is a newtype wrapper around ByteString that has a phantom
type. This
On Thu, Jul 29, 2010 at 10:55 AM, Jason Dagit da...@codersbase.com wrote:
Given those constructors for Result, how will you decode a sequence lazily?
I deliberately left incremental results out of the attoparsec API, because
it's a burrito-filled spacesuit of worms.
The problem is that
I contributed the CPSA package to Hackage, and tried using it on a PC
running Windows 7. The package installs six executables and
documentation as PDF and XHTML into the package's data directory.
Haskell Platform with Cabal installs the package without a problem.
It was actually quite smooth and
Installing Yi Editor i get the following error:
--
---
Missing dependencies on foreign libraries:
* Missing C libraries: gobject-2.0, glib-2.0, intl, iconv
Johnny Morrice sp...@killersmurf.com writes:
[...]
snm allows you to write clean, web-friendly reports, user guides and
manuals without having to edit fickle html.
Interesting project! Unlike some users, I happen to enjoy writing
documentation. Perhaps you should also announce this
Sebastian Fischer schrieb:
On Jul 29, 2010, at 12:47 AM, Benedikt Huber wrote:
Taking a quick look at the PyPy blog post on JIT code generation for
regular expressions, I thought it would be fun to implement a
generator using the excellent LLVM bindings for haskell.
Interesting. Would you
I have a question about finding the Gtk2Hs demos (the demos written in
Haskell).
To summarize what I have done so far:
I'm a new Cabal user; need to use Cabal in a Windows XP environment, where
it and the Haskell Platform are located on a network drive (H:) instead of
C:. (Need to be able to do
On 30 July 2010 13:32, Peter Schmitz ps.hask...@gmail.com wrote:
I have a question about finding the Gtk2Hs demos (the demos written in
Haskell).
They're not there:
http://osdir.com/ml/haskell-cafe@haskell.org/2010-07/msg00724.html
--
Ivan Lazar Miljenovic
ivan.miljeno...@gmail.com
28 matches
Mail list logo