G'day all.
Quoting Asfand Yar Qazi <[EMAIL PROTECTED]>:
> Actually, I'm trying to avoid library functions, so I can learn the
> language and the functional way of thinking. How would one implement
> the concatMap function?
See if you can work how how this one works. No library functions, apart
On 3/13/06, Asfand Yar Qazi <[EMAIL PROTECTED]> wrote:
> 42: type NumSamples = ALCsizei
> 109: type ALCsizei = HTYPE_ALCSIZEI
>
> A C header file has the entry '#define HTYPE_ALCSIZEI Word32'.
I suspect ALCint is not Word32.
--
Taral <[EMAIL PROTECTED]>
"Computer science is no more about computer
Hi,
I filed a bug report for a compile error in the latest GHC build, but nobody
has responded to it for 4 days. I might as well try to fix it myself, but I'm
just a functional programming and Haskell beginner.
Here's the bug I filed:
http://hackage.haskell.org/trac/ghc/ticket/715
Here's what t
On 3/13/06, Greg Buchholz <[EMAIL PROTECTED]> wrote:
> Asfand Yar Qazi wrote:
> > I'm trying to implement hierarchical states in Haskell, following on from my
> > work at doing them in C++.
> >
> > Here's what I've got so far:
> >
> > data StateNode a= CompositeState [ StateNode a ] | State
Asfand Yar Qazi wrote:
> I'm trying to implement hierarchical states in Haskell, following on from my
> work at doing them in C++.
>
> Here's what I've got so far:
>
> data StateNode a= CompositeState [ StateNode a ] | State a
> stateslist :: StateNode a -> [a]
> stateslist(State x) = [x]
I'm trying to implement hierarchical states in Haskell, following on from my
work at doing them in C++.
Here's what I've got so far:
data StateNode a= CompositeState [ StateNode a ] | State a
stateslist :: StateNode a -> [a]
stateslist(State x) = [x]
stateslist(CompositeState xs) = {- ret
CALL FOR TUTORIALS/WORKSHOPS
Fifth International Conference on
Generative Programming and Component Engineering (GPCE'06)
http://www.gpce.org/06/