ot;SELECT id FROM " ++ (dtn dummy) ++ " ORDER BY " ++ (dof dummy)
ids <- liftM (map fromSql . concat ) $! quickQuery con query []
print ids
return $ IntMap.fromList $ zip ids [0..]
print makes the ids list strict and all is well. How is the correct
way to use
Hallo,
On 3/14/07, Simon Peyton-Jones <[EMAIL PROTECTED]> wrote:
Ah, a fine idea. I'll do that anyway; maybe others will have even better
ideas, but that's a good start
Ah! So now I knows what it means. I've also been beaten by this
error message a couple of days a
ux.org download site will go away.
The links to the API docs from the wiki do not work.
Cheers,
--
-alex
http://www.ventonegro.org/
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe
to send an object file with the application
to allow relinking. I was just curious about the LGPL because GHC
always links everything statically. Thanks for the thorough answer!
Cheers,
--
-alex
http://www.ventonegro.org/
___
Haskell-Cafe mailing lis
Hallo,
Gtk2Hs and HDBC are both LGPL licensed, but aren't they always
static linked? Is there a way to use them in closed-source programs?
Cheers,
--
-alex
http://www.ventonegro.org/
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
Hallo,
On 3/5/07, ArtemGr <[EMAIL PROTECTED]> wrote:
My instructions (i made it for myself! provided "as is"):
Worked after some tweaks for my system. It was actually much
easier than I thought. Thanks very much!
--
-alex
http://ww
Hallo list,
I guess the subject line says it all. Can anybody help me?
--
-alex
http://www.ventonegro.org/
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe
t me know if you have any problems subscribing.
If it proves a popular and/or useful list, perhaps it could be moved to
haskell.org in the future.
alex
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe
eah, I share your pain. :-)
--
-alex
http://www.ventonegro.org/
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe
uld
anyone have some illustrative example code, and perhaps a couple of tips
for how to get things working well in emacs?
Once I get up to speed I would hope to contribute a beginner's guide
back. Perhaps I should be addressing this email just to Rohan, but
thought others might be able
hair Props
data Table = Table Props
Do you mean:
data Chair = Chair Properties
data Table = Table Properties
?
--
-alex
http://www.ventonegro.org/
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe
Also, could someone tell me why this doesn't compile in GHC:
data Test = A {a::Int} | B {a::Int, b::Int}
data Test2 = C {c::A}
'A' is not a type, is a constructor for type 'Test'.
--
-alex
http://www.ventonegro.org/
___
Ha
community acceptance
for a particular version of each of these.
-Alex-
Michael T. Richter wrote:
On Mon, 2007-08-01 at 18:19 +0100, Sven Panne wrote:
> For example, if I want to install Rails (ruby web-app framework), I just
> type:
> gem install rails
> It's pretty slic
Hallo,
On 1/8/07, Hans van Thiel <[EMAIL PROTECTED]> wrote:
Thanks, I didn't know that. What other widget libraries are supported at
this time?
Only GTK+. :-)
--
-alex
http://www.ventonegro.org/
___
Haskell-Cafe mailing list
H
: Glade does not belong to GTK+, neither does libglade,
which are independent projects.
--
-alex
http://www.ventonegro.org/
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe
of
application semantics.
At the implementation level, it forces the generation of standard
accessor names e.g. withFoo for every foo, rather than supporting a
general syntax for access or update.
-Alex-
Bulat Ziganshin wrote:
Hello S.,
Wednesday, December 27, 2006, 2:24:00 AM, you wrote:
Hav
I know the feeling. :-)
--
-alex
http://www.ventonegro.org/
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe
dd, but what features they can remove.
So I'd say it's perfectly possible to have an academia-backed
language useful for the "real world".
Cheers,
--
-alex
http://www.ventonegro.org/
___
Haskell-Cafe mailing list
Haskell-Cafe@h
Hallo,
On 12/12/06, Benjamin Franksen <[EMAIL PROTECTED]> wrote:
Alex Queiroz wrote:
> On 12/11/06, Stefan O'Rear <[EMAIL PROTECTED]> wrote:
>> No. Haskell's lists are linked lists, enlarge creates a single new link
>> without modifying (and copying) the or
theses/okasaki.pdf
Thanks for the info and the link, looks interesting.
Cheers,
--
-alex
http://www.ventonegro.org/
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe
iour with my own code?
Cheers,
--
-alex
http://www.ventonegro.org/
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe
large
mesh without using obscene amounts of memory? Making an analogy:
enlarge :: a -> [a] -> [a]
enlarge c cs = c : cs
enlarge 15 [1..10]
Will this copy the whole list to make a new one with an element more?
Cheers,
--
-alex
http://www.ventonegro.org/
_
ion.
Cheers,
--
-alex
http://www.ventonegro.org/
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe
had GHC features and bugfixes in place - the Debian version has got
rather out of date at times with respect to stuff we needed.
No OpenGL neither Gtk2hs in Debian Sid yet. :-(
--
-alex
http://www.ventonegro.org/
___
Haskell-Cafe mailing list
Haskell-
er than produce inaccurate output. To me part of the
enjoyment of an instrument is what happens when you go beyond its
normal limits.
alex
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe
ks also to those pointing me at Haskore on #haskell, so far it looks
a lot like my existing representation of music, only much better.
alex
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe
st have to put it in a timestamped
bundle though.
I hope that's useful, if not let me know more about your timing
problems, maybe I can still help.
alex
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe
On Tue, 2006-11-07 at 01:22 +1100, Donald Bruce Stewart wrote:
> Alex McLean has kindly put up a screencast of him creating
> *music via live coding in Haskell* !
> http://doc.gold.ac.uk/~ma503am/alex/haskellmusic
Thanks Don!
I originally did this screencast a while ago for a
Hallo,
On 9/25/06, Ch. A. Herrmann <[EMAIL PROTECTED]> wrote:
Hi,
Henning Thielemann wrote:
> assembly language (Assembler ist deutsch :-)
for mysterious reasons it entered the English world.
'Assembly' is a language. 'Assembler' is a program.
--
-a
orum" has nearly lost it's "General" forum to spammers. Maybe
the experts know better engines, better ways to set up a forum, or
better ways to administer them after they're up, but it is a concern.
I only hope this mailing list will continue. I can't stand th
common subexpression; only one place to change
when you need to change the call.
So there is no benefits from the "functions have no side-effects"
property, performance-wise. Pity.
--
-alex
http://www.ventonegro.org/
___
Haskell-Cafe mailing l
shot: Since functions have no side effects, the compiler
executes the function only once.
--
-alex
http://www.ventonegro.org/
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe
hello ; I am writing to ask you a thing ; I am writing a little game on Haskell's HOpenGL ; the game isn't much , but I want to make look a little better ; and for that I want to use bitmaps (or textures) ; I don't know very much about this subject ; I've tried to use de bitmap function from Graphi
I am writing a function, It's my first Haskell program
in output function
I will be working on [[3,4],[1,2,3,2],[3,9,9,4],[8,3,3,4] type
structures
I'd like to know how to index a particular element at run-time
as I don't know on which element of which sublist I am at the moment
in pullHelper funct
Hi,
Is anyone bored and wants to rewrite a small C program in Haskell?:)
http://users.tpg.com.au/galutva/jap.c
I am new to Haskell and it'd take me sometime to do it all
myself.
Thanks
___
Haskell-Cafe mailing list
[EMAIL PROTECTED]
http://www.haskel
Ignore the layout
I can't find the error, running it gives parse error during compile on
pStack, it is not very descriptive and I don't what is wrong.
--Stack for the digits for numbers, a modulo b
digStack :: Integer->Integer->[Integer]
digStack a b
| a == 0 = []
| otherwise =
Hi,
I am new to haskell and would look to write a function equivalent
to the following loop in C
int value = 50;
int part_stack[4];
int *part_ptr = part_stack;
for (; value; value /= 1)
*part_ptr++ = value % 1;
Thanks
___
Haskell-Cafe
Hi,
I'm fairly new to Haskell, I'd like to know how to convert
a list of Strings of type IO [String] to Int.
I used map read p, where p is a list of IO Strings ["1", "2"]
Thanks
___
Haskell-Cafe mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mail
(or perhaps, in need of sound dental advice).
Example:
ifM (return (1==1))
`then_` print (2+3)
`else_` print (3+4)
Of course, the type errors are going to start looking more and more
mysterious if you get 'em in the wrong place...
Cheers,
Alex.
infix 4 `then_`
infix 5 `e
I am trying to implement a long-lived "accumulator"
Alex
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of mike castleman
> Sent: Sunday, August 11, 2002 6:50 PM
> To: [EMAIL PROTECTED]
> Subject: Re: Newbi
I am new to Haskell. I want to do something very simple (I thought) but got lost in
the world of
Monads.
I want to implement something like the C idea of:
n += i
So how does one doe this in Haskell?
Thanks,
Alex
___
Haskell-Cafe mailing list
Hi all. I've had a problem with cascade menus with TclHaskell under
Solaris, running tcl and tk vs 8.0. In short, they don't (cascade,
that is). Anyone else found this, and better yet, do they have a fix?
The same code runs fine on Cygwintel...
Cheers,
Alex.
201 - 242 of 242 matches
Mail list logo