Hello Anton,
thanks for your enlightening piece of code. "foldD" does exactly what I was
hoping for.
Now it becomes very obvious to me that the positions of the forall's in the
Digit definition are crucial.
Thanks a lot to Alfonso, Luke and Ryan as well. Haskell Cafe is a really
good place to le
On Tue, Jun 24, 2008 at 11:16 PM, Luke Palmer <[EMAIL PROTECTED]> wrote:
> On Tue, Jun 24, 2008 at 6:34 PM, Norbert Wojtowicz
> <[EMAIL PROTECTED]> wrote:
>>> Attached is a patched version of SDL_mixer 0.5.2 with a C wrapper
>>> for this macro. I'm now able to run loadWAV in ghci.
>>
>> Works for m
On Tue, Jun 24, 2008 at 6:34 PM, Norbert Wojtowicz
<[EMAIL PROTECTED]> wrote:
>> Attached is a patched version of SDL_mixer 0.5.2 with a C wrapper
>> for this macro. I'm now able to run loadWAV in ghci.
>
> Works for me, thanks!
>
> Now I just need to learn how to make my WAVs sound not like
> comp
Probably you need to implement coarbitrary, too.
My ghci session for your code:
$ ghci
GHCi, version 6.8.2: http://www.haskell.org/ghc/ :? for help
Loading package base ... linking ... done.
Prelude> :l t.hs
[1 of 1] Compiling Main ( t.hs, interpreted )
t.hs:4:0:
Warning: No expl
... cabal install version _working_ as well...
(v0.2)
2008/6/24 Thomas Hartman <[EMAIL PROTECTED]>:
> Uy.
>
> I think I got the cabal install version as well, but I had to specify
> a mess of files manually.
>
> So I'll probably be using darcs tag for future release if there are any ;)
>
> thomas
Uy.
I think I got the cabal install version as well, but I had to specify
a mess of files manually.
So I'll probably be using darcs tag for future release if there are any ;)
thomas.
2008/6/24 tphyahoo <[EMAIL PROTECTED]>:
>
>
>
> -- Forwarded message --
> From: tphyahoo <[EMAIL
-- Forwarded message --
From: tphyahoo <[EMAIL PROTECTED]>
Date: Jun 24, 7:46 pm
Subject: Cabalized, Self-Demoing, HStringTemplate-using HAppS Tutorial
To: HAppS
There are some issues with the cabalized project -- templates are
missing. Doh.
Use darcs for now.
Thomas.
On Jun
-- Forwarded message --
From: tphyahoo <[EMAIL PROTECTED]>
Date: Jun 24, 7:26 pm
Subject: Cabalized, Self-Demoing, HStringTemplate-using HAppS Tutorial
To: HAppS
Hello HAppSers!
I have created a self-demoing, HStringTemplate-using intro to HAppS.
There is a live demo at
http://
Cafe
I'm a bit lost on this exception and curious about what's going on. Is
there a valid reason for this exception that I am missing? Note the
hard-coded [0..100] could be any Word8 list you want (generated via
arbitrary, [], or other) and it gives the same result.
Load the module and perform:
> Emacs Haskell Mode has the following useful feature: when "Haskell ->
> Load File" is used to load a file into GHCi from Emacs, Haskell Mode
> automatically looks for a "*.cabal" file in an attempt to find the
> project directory.
I'm truly sorry about the fact that I only release new versions
r
Jeremy Shaw wrote:
If any does attempt to build for the ARM, please, please, please,
document what you do in the wiki. And, if you do, edit the wiki as you
go, you definitely won't be able to remember what you did after the
fact. (Or, at the very least, use some program to capture everything
you
> Attached is a patched version of SDL_mixer 0.5.2 with a C wrapper
> for this macro. I'm now able to run loadWAV in ghci.
Works for me, thanks!
Now I just need to learn how to make my WAVs sound not like
computer-generated children voices. For example, using the hback wav
files and this:
import
wojtowicz.norbert:
> >> SDL-mixer does not support the most recent SDL version. The problem is
> >> that in SDL now Mix_LoadWAV is a macro.
>
> I've tried it with SDL-0.5.2 from hackage as well with the same
> problem. (Unless you mean an earlier version of the actual SDL
> library?)
>
> > Ah ha
>> SDL-mixer does not support the most recent SDL version. The problem is
>> that in SDL now Mix_LoadWAV is a macro.
I've tried it with SDL-0.5.2 from hackage as well with the same
problem. (Unless you mean an earlier version of the actual SDL
library?)
> Ah ha, so it needs a cbits wrapper over
Henning Thielemann wrote:
On Sat, 21 Jun 2008, Lanny Ripple wrote:
I had luck with this the other day using Database.HDBC.ODBC. For
Ubuntu's Hardy I found that Oracle's 10.2.0.3 worked best.
(10.2.0.4 and 11 seemed to have problems for me at least.)
http://www.oracle.com/technology/software/
Emacs Haskell Mode has the following useful feature: when "Haskell ->
Load File" is used to load a file into GHCi from Emacs, Haskell Mode
automatically looks for a "*.cabal" file in an attempt to find the
project directory.
When Haskell Mode finds the *.cabal file, it fails to check whether it
ha
>> 2008/6/24 Henning Thielemann <[EMAIL PROTECTED]>:
>>>
>> When you run configure, you should get output that says:
>> Using Oracle:
>>
>> What is ?
>
> I don't get these questions.
Sorry. I was really asking (not very clearly): what is the output from
"runhaskell Setup.hs configure -foracle" ?
nielsadb:
> Hello Haskellers,
>
> As an experiment I'm writing a parser for MediaWiki language. I'm using
> the Alex lexer and Parsec. I have novice two questions.
Just a quick question, did you try using the pandoc markdown parser?
http://hackage.haskell.org/packages/archive/pandoc/0.46/do
Hello Haskellers,
As an experiment I'm writing a parser for MediaWiki language. I'm using
the Alex lexer and Parsec. I have novice two questions.
(I've tried using Happy but I was unable to get a grammar file to
compile, which must be because I have no real experience using Yacc and
the like. I'v
On Sat, 21 Jun 2008, Lanny Ripple wrote:
I had luck with this the other day using Database.HDBC.ODBC. For
Ubuntu's Hardy I found that Oracle's 10.2.0.3 worked best.
(10.2.0.4 and 11 seemed to have problems for me at least.)
http://www.oracle.com/technology/software/tech/oci/instantclient/htdo
On Tue, 24 Jun 2008, Alistair Bayley wrote:
2008/6/24 Henning Thielemann <[EMAIL PROTECTED]>:
(Btw. Takusen should be split into
several packages for all database backends because Cabal flags must not
influence the package interface.)
I don't understand this (cabal flags must not influence
marcot:
> Em Ter, 2008-06-24 às 14:57 -0500, Norbert Wojtowicz escreveu:
> > Prelude> import Graphics.UI.SDL.Mixer.Music
> > Prelude Graphics.UI.SDL.Mixer.Music> loadMUS "test.wav"
> > Loading package SDL-0.5.4 ... linking ... done.
> > Loading package SDL-mixer-0.5.2 ... linking ... :
> > /home/no
Em Ter, 2008-06-24 às 14:57 -0500, Norbert Wojtowicz escreveu:
> Prelude> import Graphics.UI.SDL.Mixer.Music
> Prelude Graphics.UI.SDL.Mixer.Music> loadMUS "test.wav"
> Loading package SDL-0.5.4 ... linking ... done.
> Loading package SDL-mixer-0.5.2 ... linking ... :
> /home/norbert/bin/lib/SDL-mi
lemming:
>
> On Tue, 24 Jun 2008, Norbert Wojtowicz wrote:
>
> >Hello,
> >
> >I am trying to use the SDL-mixer bindings to play wav files. I've hit
> >a wierd error and I can't figure out how to solve it:
> >
> >Prelude> import Graphics.UI.SDL.Mixer.Music
> >Prelude Graphics.UI.SDL.Mixer.Music> l
wojtowicz.norbert:
> Hello,
>
> I am trying to use the SDL-mixer bindings to play wav files. I've hit
> a wierd error and I can't figure out how to solve it:
>
> Prelude> import Graphics.UI.SDL.Mixer.Music
> Prelude Graphics.UI.SDL.Mixer.Music> loadMUS "test.wav"
> Loading package SDL-0.5.4 ... l
On Tue, 24 Jun 2008, Norbert Wojtowicz wrote:
Hello,
I am trying to use the SDL-mixer bindings to play wav files. I've hit
a wierd error and I can't figure out how to solve it:
Prelude> import Graphics.UI.SDL.Mixer.Music
Prelude Graphics.UI.SDL.Mixer.Music> loadMUS "test.wav"
Is the package
Hello,
I am trying to use the SDL-mixer bindings to play wav files. I've hit
a wierd error and I can't figure out how to solve it:
Prelude> import Graphics.UI.SDL.Mixer.Music
Prelude Graphics.UI.SDL.Mixer.Music> loadMUS "test.wav"
Loading package SDL-0.5.4 ... linking ... done.
Loading package SD
Hi Robert,
The derive program [http://www.cs.york.ac.uk/~ndm/derive] works
extensively with Template Haskell, and has come across loads of
instances where you get either AppT or ListT, and similarly where you
get either ListE or AppE - and I seem to remember ListP as well. I
think the same also ho
In messing around with TH, I noticed (what I consider
to be an) odd wrinkle in the handling of list types
within TH's syntax meta-data. For example, given the
program at the end of this email, which prints out the
TH representation of the types 'Ints' and '[Int]',
where 'Ints' is just a type-alia
On Tue, Jun 24, 2008 at 12:08 PM, Galchin, Vasili <[EMAIL PROTECTED]> wrote:
> yes I am invoking a callback function written in Haskell.
Then you should just need to remove the "unsafe" from the foreign
import decl which leads to the callback getting called.
AGL
--
Adam Langley [EMAIL PROTECTE
yes I am invoking a callback function written in Haskell.
On Tue, Jun 24, 2008 at 12:03 PM, Adam Langley <[EMAIL PROTECTED]>
wrote:
> 2008/6/23 Galchin, Vasili <[EMAIL PROTECTED]>:
> > aio: schedule: re-entered unsafely.
> >Perhaps a 'foreign import unsafe' should be 'safe'?
> >
> > I want
Hello,
I have, on two occasions made an *unregisterised* of GHC for the ARM
(specifically the Maemo on Nokia 770). Mostly I just followed the
unregisterised porting directions in the GHC user manual.
I documented one attempt here:
http://hackage.haskell.org/trac/ghc/wiki/ArmLinuxGhc
Note: This
All,
Apologies for multiple listings.
A small cadre of us, collectively known as the Northwest Functional
Programming
Interest Group, have been meeting monthly to discuss all things functional.
Our next meeting is at
The Seattle Public Library
5009 Roosevelt Way N.E. *
Seattle*, WA 98105
206-684
2008/6/23 Galchin, Vasili <[EMAIL PROTECTED]>:
> aio: schedule: re-entered unsafely.
>Perhaps a 'foreign import unsafe' should be 'safe'?
>
> I want to understand from an implementation viewpoint .. deeper. This is a
> GC issue yes?
Are you reentering Haskell on a path which involves an unsafe
2008/6/24 Henning Thielemann <[EMAIL PROTECTED]>:
>
> (I remain on the list in order to fill the archive with information, others
> may need, too.)
As you wish.
> (Btw. Takusen should be split into
> several packages for all database backends because Cabal flags must not
> influence the package
On Fri, 20 Jun 2008, Alistair Bayley wrote:
Another problem is that the Oracle installation process assumes that,
for all platforms, the library is called oci i.e. the linker option
-loci is used. For Unix clients, the OCI library seems to be
libclnstsh.so, so I guess it should pass -lclnstsh.
36 matches
Mail list logo