Hi,
How is CStringLen supposed to be used? The only
usual C string I'm familiar with is the null
terminated sequence of chars. I remember some
Pascal version where the first 2 bytes were used
as an integer counting the following characters.
What is the convention used in Foreign.C.String?
I have
Malcolm.Wallace:
> Some time ago, there was a thread about a "CheatSheet" for Haskell
> beginners. As I recall, the CheatSheet was more than 12 pages long.
>
> For a Haskell tutorial I was running at a conference recently, I needed
> a "Quick Reference Guide" that would fit onto a single side of
---
Haskell Weekly News
http://sequence.complete.org/hwn/20081108
Issue 92 - November 08, 2008
---
Welcome to issue 92 of HWN, a newsletter covering
Hi everyone,
Yes, the current overlap checker thinks all view patterns are
overlapped. The pattern overlap/exhaustiveness checker needs to be
rewritten to account for GADTs and view patterns.
You can use -fno-warn-overlapping-patterns to suppress these warning
(along with any actual overlaps, th
I've uploaded an early version of gitit, a Haskell wiki program, to
HackageDB. Gitit uses HAppS as a webserver, git for file storage,
pandoc for rendering the (markdown) pages, and highlighting-kate for
highlighted source code.
Some nice features of gitit:
- Pages and uploaded files are stored
Looking at this funny new feature
http://haskell.org/ghc/docs/6.10.1/html/users_guide/syntax-extns.html#generalised-list-comprehensions
I have just one question - why doesn't this work with the do-notation?
I avoid list comprehensions because I feel that
"return" belongs at the end, not in front.
Thomas,
Did you explore nominal rewrite at all? Do you know if it might be possible
to use the scrap-your-nameplate package to implement some useful subset of
the nominal rewrite machinery?
Best wishes,
--greg
--
L.G. Meredith
Managing Partner
Biosimilarity LLC
806 55th St NE
Seattle, WA 98105
2008/11/8 Johannes Waldmann <[EMAIL PROTECTED]>:
> Looking at this funny new feature
> http://haskell.org/ghc/docs/6.10.1/html/users_guide/syntax-extns.html#generalised-list-comprehensions
> I have just one question - why doesn't this work with the do-notation?
>
> I avoid list comprehensions becau
Maurício wrote:
Hi,
How is CStringLen supposed to be used? The only
usual C string I'm familiar with is the null
terminated sequence of chars. I remember some
Pascal version where the first 2 bytes were used
as an integer counting the following characters.
What is the convention used in Foreign
I don't think we
considered the possibility you might use do notation for the list
monad, as it's not an idiom that seems to occur often.
depends where you look, I guess. (Such questions could in principle
be answered automatically by browsing the code on hackage?)
As I said, I am avoiding lis
jgm:
> I've uploaded an early version of gitit, a Haskell wiki program, to
> HackageDB. Gitit uses HAppS as a webserver, git for file storage,
> pandoc for rendering the (markdown) pages, and highlighting-kate for
> highlighted source code.
Awesome. Well done, as always, John!
-- Don
mwassell:
> Has anyone thought about or embarked on the task of developing a 2D or
> 3D physics engine purely in Haskell?
>
> There is Hipmunk but I'm wondering about a purely Haskell
> implementation; possibly a port of Chipmunk to Haskell.
http://haskell.org/haskellwiki/Hpysics
"Hpys
Has anyone thought about or embarked on the task of developing a 2D or
3D physics engine purely in Haskell?
There is Hipmunk but I'm wondering about a purely Haskell
implementation; possibly a port of Chipmunk to Haskell.
Mark
___
Haskell-Cafe ma
Where do I find the documentation for the FFI for GHC? I've read the FFI
report, the GHC user guide and scoured haskell.org but they all gloss over what
commands you actually need to give GHC and how to give them. "foreign import
blah blah" just gives me undefined references.
_
2008/11/8 Nun Aurbiz <[EMAIL PROTECTED]>:
> Where do I find the documentation for the FFI for GHC? I've read the FFI
> report, the GHC user guide and scoured haskell.org but they all gloss over
> what commands you actually need to give GHC and how to give them. "foreign
> import blah blah" just g
15 matches
Mail list logo