I'm trying to make a package of Ben.Lippmeier's very nice ANUPlot graphics
library (http://cs.anu.edu.au/people/Ben.Lippmeier)
IMHO this would be a great contribution to the Haskell library, it's very
clean code for newbies :)
I created the following cabal file:
name: Plot
version: 1.1
license:
Peter Verswyvelen:
However, when building an example that uses that package, I get a lot of
linker errors (see log below)
What options did you use when compiling the example?
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
Simon Peyton-Jones wrote:
| From the ghc manual:
|
| ---
| 7.3.3. The recursive do-notation
| ...
|
| It is unfortunate that the manual does not give the translation rules,
or at
| least the translation for the given example.
Hmm. OK. I've improved the manual with a URL to
Oops, I forget to paste that in.
Just
GHC --make AnimClock.hs
with
ANUPlot\src\Demo
As the current directory.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Malte Milatz
Sent: Saturday, August 25, 2007 12:11 PM
To: haskell-cafe@haskell.org
Edward Ing wrote:
Hi,
I am trying to install Haskellnet. But the configuration breaks on
dependency of network-any in GHC 6.6.
I thought network-any was part of Hierarchical libraries?
If not where do I get it?
The generic place for libraries nowadays is hackage:
Hi
- Blogging software. (Because there isn't enough of it in the world yet.)
Hope (google: Haskell Hope)
- A wiki program. (Ditto.)
Flippi (google: Haskell Flippi)
- A general CMS.
Hope
- An interactive function plotter. (GNUplot is nice, but it can't plot
recursive functions...)
None
Neil Mitchell wrote:
- A wiki program. (Ditto.)
Flippi (google: Haskell Flippi)
...and yet haskell.org uses WikiMedia? (Which is written in something
bizzare like Perl...)
- A general CMS.
Hope
Woo! I'll have to go play with this for a while...
- An interactive
Hi
Flippi (google: Haskell Flippi)
...and yet haskell.org uses WikiMedia? (Which is written in something
bizzare like Perl...)
Yes, but WikiMedia is a result of years of work, Flippi is a lot less.
Wikipedia uses WikiMedia - its a tried and proven solution.
- A graphical programming
On Sat, 25 Aug 2007, Andrew Coppin wrote:
Neil Mitchell wrote:
- A wiki program. (Ditto.)
Flippi (google: Haskell Flippi)
...and yet haskell.org uses WikiMedia? (Which is written in something
bizzare like Perl...)
Flippi is... rather minimalistic. And fugly. You
On Sat, 25 Aug 2007, Neil Mitchell wrote:
Hi
Flippi (google: Haskell Flippi)
...and yet haskell.org uses WikiMedia? (Which is written in something
bizzare like Perl...)
Yes, but WikiMedia is a result of years of work, Flippi is a lot less.
The original version was the result of a
Indeed, adding the non-exposed modules to the other-modules fixed it.
Thanks Allan!
Cheers,
Peter
-Original Message-
From: Allan Clark [mailto:[EMAIL PROTECTED]
Sent: Saturday, August 25, 2007 2:28 PM
To: Peter Verswyvelen
Subject: Re: [Haskell-cafe] How to fix linker errors when
- A graphical programming tool. (You add boxes and put in lines, it
constructs a program that you can run.)
You mean a programming tool with a horrible syntax and user interface?
If you want to remove the joy from programming, just use Ada.
For programmers or scientists, I agree.
For
Hi all,
In order to improve my understanding of monad, I am trying to do some manual
computation on Reader Monad but I got some problem.
The computation is like this:
--instance Monad (Reader e) where
--return a = Reader $ \e - a
--(Reader r) = f = Reader $ \e - f (r e) e
Peter Cai:
Hi all,
In order to improve my understanding of monad, I am trying to do some manual
computation on Reader Monad but I got some problem.
The computation is like this:
--instance Monad (Reader e) where
--return a = Reader $ \e - a
--(Reader r) = f = Reader $
一首诗 wrote:
runReader (do { b - Reader $ show; return b } ) -- This is the initial
expression, it should equals show
runReader (Reader $ show = \b - return b) -- remove do notion
I'm not sure that's the right un-do-ization. It so happens that the
exponent monad ((-) r) and the
On 8/25/07, Henk-Jan van Tuyl [EMAIL PROTECTED] wrote:
The easiest way to run Haskell software from a C program is to give the
shell command:
runhaskell Foo.hs
I'm a newbie but not that new :) I really have to be able to interpret the
Haskell from within the same process.
A more
On Sat, Aug 25, 2007 at 12:34:45PM -0400, Brock Peabody wrote:
On 8/25/07, Henk-Jan van Tuyl [EMAIL PROTECTED] wrote:
The easiest way to run Haskell software from a C program is to give the
shell command:
runhaskell Foo.hs
I'm a newbie but not that new :) I really have to be
Bertram Felgenhauer wrote:
Hi,
You wrote:
- An interactive function plotter. (GNUplot is nice, but it can't plot
recursive functions...)
Actually you can express a lot of those with the ?: operator.
Ooo... interesting. I don't recall seeing *that* in the manual!
gnuplot f(x) =
Anybody want to explain to me why this doesn't work?
___ ___ _
/ _ \ /\ /\/ __(_)
/ /_\// /_/ / / | | GHC Interactive, version 6.6.1, for Haskell 98.
/ /_\\/ __ / /___| | http://www.haskell.org/ghc/
\/\/ /_/\/|_| Type :? for help.
Loading package base ...
Neil Mitchell wrote:
HI
Flippi (google: Haskell Flippi)
...and yet haskell.org uses WikiMedia? (Which is written in something
bizzare like Perl...)
Yes, but WikiMedia is a result of years of work, Flippi is a lot less.
Wikipedia uses WikiMedia - its a tried and proven
Philippa Cowderoy wrote:
Flippi is... rather minimalistic. And fugly. You can tell it was written
by someone who has trouble getting things done! I get the impression it
did a certain amount of good as a proof of concept and a reminder that
doing things the old-fashioned way still works
Philippa Cowderoy wrote:
I have some (very expensive) software called Reaktor. You draw boxes and
lines, it does DSP algorithms. You build synthesizers and effects boxes
with it.
That sounds exactly like PureData - you can also do graphics as well
with PureData, the demo I saw was very
On Aug 25, 2007, at 14:43 , Andrew Coppin wrote:
Neil Mitchell wrote:
HI
Flippi (google: Haskell Flippi)
...and yet haskell.org uses WikiMedia? (Which is written in
something
bizzare like Perl...)
Yes, but WikiMedia is a result of years of work, Flippi is a lot
less.
Wikipedia
C.M.Brown wrote:
- A graphical programming tool. (You add boxes and put in lines, it
constructs a program that you can run.)
I'm not entirely exactly sure what you mean by this.
I wasn't especially specific about it, that's true enough. I actually
had several different things in
Brandon S. Allbery KF8NH wrote:
On Aug 25, 2007, at 14:43 , Andrew Coppin wrote:
Yes, but WikiMedia is a result of years of work, Flippi is a lot less.
Wikipedia uses WikiMedia - its a tried and proven solution.
Well, I guess...
I just thought, you know, the Tcl wiki is written in Tcl,
- Blogging software. (Because there isn't enough of it in the world yet.)
In addition (because a little competition can't help ;), I'm going to
be experimenting with writing a blog engine for my final year project
at Uni next year - 2007/08. Hopefully some good will come of it, i.e.
something
Iain Lane wrote:
- Blogging software. (Because there isn't enough of it in the world yet.)
In addition (because a little competition can't help ;), I'm going to
be experimenting with writing a blog engine for my final year project
at Uni next year - 2007/08. Hopefully some good will come
Andrew Coppin wrote:
Prelude :m Text.ParserCombinators.Parsec
Prelude Text.ParserCombinators.Parsec parseTest (endBy anyToken (char
'#')) abc#
Loading package parsec-2.0 ... linking ... done.
parse error at (line 1, column 1):
unexpected b
expecting #
I read the doc and determined that it is
On Sat, Aug 25, 2007 at 07:43:30PM +0100, Andrew Coppin wrote:
Neil Mitchell wrote:
HI
Flippi (google: Haskell Flippi)
...and yet haskell.org uses WikiMedia? (Which is written in something
bizzare like Perl...)
Yes, but WikiMedia is a result of years of work, Flippi is a
Andrew Coppin wrote:
Anybody want to explain to me why this doesn't work?
___ ___ _
/ _ \ /\ /\/ __(_)
/ /_\// /_/ / / | | GHC Interactive, version 6.6.1, for Haskell 98.
/ /_\\/ __ / /___| | http://www.haskell.org/ghc/
\/\/ /_/\/|_| Type :? for help.
Stefan O'Rear wrote:
On Sat, Aug 25, 2007 at 07:43:30PM +0100, Andrew Coppin wrote:
Hey, aren't we trying to tell people is a
*useful* language that people should learn and use? ;-)
Actually, we aren't. You might not have been able to tell, but a core
goal of our community is to stay
ChrisK wrote:
Andrew Coppin wrote:
Anybody want to explain to me why this doesn't work?
___ ___ _
/ _ \ /\ /\/ __(_)
/ /_\// /_/ / / | | GHC Interactive, version 6.6.1, for Haskell 98.
/ /_\\/ __ / /___| | http://www.haskell.org/ghc/
\/\/ /_/\/|_| Type
Andrew Coppin wrote:
C.M.Brown wrote:
If you mean one can
create programs by creating them visually then perhaps you could
consider
Vital:
http://www.cs.kent.ac.uk/projects/vital/
It's a document-centered implementation of Haskell. Allowing one to
display and directly manipulate Haskell
*useful* language that people should learn and use? ;-)
Actually, we aren't. You might not have been able to tell,
but a core goal of our community is to stay small and avoid
success at all costs; our language is not practical,
not designed to be practical, and if it ever becomes practical,
On Sat, Aug 25, 2007 at 08:18:29PM +0100, Andrew Coppin wrote:
But hang on a minute...
many parses 0 or more occurrances of an item.
sepBy parses 0 or more occurrances of an item, seperated by another item.
endBy parses 0 or more occurrances of an item, terminated by another
item.
Peter Verswyvelen wrote:
I tried vital, and at first sight it is very nice, but they only support a
very limited subset of Haskell, perform no type checking at all, don't
support the indent rule, etc... Anyway it is an amazing piece of work.
Regarding your question about visual programming, GEM
Reaktor has a few limitations though.
1. It's virtually impossible to debug the thing! (I.e., if your synth
doesn't work... good luck working out why.)
2. It lacks looping capabilities. For example, you cannot build a
variable-size convolution block - only a fixed-size one. (If you want to
Evan Laforge wrote:
To get this back to haskell, at the time I wondered if a more natural
implementation might be possible in haskell, seeing as it was more
naturally lazy. Not sure how to implement the behaviours though
(which were simply macros around a let of *dynamic-something*). I'm
sure
Stefan O'Rear wrote:
On Sat, Aug 25, 2007 at 08:18:29PM +0100, Andrew Coppin wrote:
But hang on a minute...
many parses 0 or more occurrances of an item.
sepBy parses 0 or more occurrances of an item, seperated by another item.
endBy parses 0 or more occurrances of an item, terminated by
Indeed, you can write certain DSP algorithms beautifully in Haskell.
Now, if only it could talk to the audio hardware... (Or just use common
file formats even.)
Oh, that's easy. I wrote an FFI interface to portaudio a while back
to write a delay-looping type utility in haskell. It was pretty
I tried vital, and at first sight it is very nice, but they only support a
very limited subset of Haskell, perform no type checking at all, don't
support the indent rule, etc... Anyway it is an amazing piece of work.
I believe that type-sensitive manipulation was certainly being
investigated;
Definitely! It's really cool stuff. But something like that for real Haskell
(e.g. GHC) would be even better :) I could be an offline downloadable
application. It would be a very nice tool: create postscript (or PDF, or
LaTex, whatever rich text format) documents with Haskell boxes inside.
Game developers are really struggling to get performance out of the
Playstation 3 console. This console has a single PowerPC CPU with 6 Cell SPU
coprocessors, all running at 3.3GHz. These SPUs have 256KB very high speed
local RAM, and data from the 512MB main memory can stream in and out via DMA
It would be a very cool project to show that Haskell could run on such a
platform, making it easier to take advance of its awesome power J
It's funny. But 5 minutes ago I was thinking: did anyone compiled
haskell application for Palm (m68k and/or Arm) that runs on Palm OS? I
can literally quote
Hello there.
I don't know if it's off topic, but I don't know where else to ask.
I've been using Text.Xhtml.Strict, and I'm wondering why the functions
are mostly Html - Html and not HTML a = a - Html, or something
similar. If they were like this, and toHtml would be not needed,
what would
There is something called infix constructors and something else called
infix operators. I'm guessing that an infix operator is really a
function, and an infix constructor I don't know what it is. How would
you guys describe them?
(*) More questions.
I learned how to define (++), and then I
At Sun, 26 Aug 2007 00:19:25 +0200,
=?UTF-8?Q?Rados=C5=82aw_Grzanka?= wrote:
It's funny. But 5 minutes ago I was thinking: did anyone compiled
haskell application for Palm (m68k and/or Arm) that runs on Palm OS?
I have looked into doing this in the past. Historically speaking, the
first
Hi
Another option would be to port the yhi bytecode interpreter to run on
PalmOS. I tried this, but I ran into three problems:
1. libgmp dependency
This is no longer an issue, we now have a flag to not require libgmp,
which makes type Integer = Int
2. build system requires Python
On Sat, 2007-08-25 at 22:51 +0100, Philippa Cowderoy wrote:
On Sat, 25 Aug 2007, Andrew Coppin wrote:
Would be nice if I could build something in Haskell that overcomes these.
OTOH, does Haskell have any way to talk to the audio hardware?
It would definitely be nice if someone wrote a
On Sat, 2007-08-25 at 23:36 +0200, [EMAIL PROTECTED]
wrote:
Evan Laforge writes:
Indeed, you can write certain DSP algorithms beautifully in Haskell.
Now, if only it could talk to the audio hardware... (Or just use common
file formats even.)
Oh, that's easy. I wrote an FFI
I recently did the classic push a shopping cart down the aisle at
Fry's to build a Core 2 Quad computer, with Linux swap and a soft
raid array spread across three 750 GB sata hard disks. I had some
potential first build issues, notably a mishap with the lawn of
copper grass that passes for a 775
On Sat, Aug 25, 2007 at 09:33:25PM -0700, Dave Bayer wrote:
I recently did the classic push a shopping cart down the aisle at
Fry's to build a Core 2 Quad computer, with Linux swap and a soft
raid array spread across three 750 GB sata hard disks. I had some
potential first build issues,
52 matches
Mail list logo