On Wed, 19 Mar 2003, Simon Marlow wrote:
I am planning a Haskell project and I need to access files. Since the
program will be automatically started whenever a mail comes
in I will need
to be able to lock the access to files. Is there any support
for this in some library?
Yes, the
I am very interested in writing server programs in haskell.
There is a link to a paper and code of haskell web server
in the following page.
http://www.haskell.org/practice.html
I can see the case study paper, but there is no code at
the link location. I think inspecting through code might be
I am very interested in writing server programs in haskell.
There is a link to a paper and code of haskell web server
in the following page.
http://www.haskell.org/practice.html
I can see the case study paper, but there is no code at
the link location. I think inspecting through code
This was mentioned earlier this month, see:
http://haskell.org/pipermail/haskell/2003-March/011372.html
http://haskell.org/pipermail/haskell/2003-March/011371.html
-Original Message-
From: Ahn Ki-yung [mailto:[EMAIL PROTECTED]
Sent: 20 March 2003 07:29
To: [EMAIL PROTECTED]
Subject:
Hi all,
This is probably a long shot, but I am looking for a few libraries and
don't want to put effort into something that has already been done.
Is there a high level Haskell graphics library that would give
functionality similar to gnuplot? I know I could build one myself, but
I hate
Matthew Donadio [EMAIL PROTECTED] writes:
Is there a high level Haskell graphics library that would
give functionality similar to gnuplot?
Why not simply USE gnuplot? Or plotutils? They have simple
textual interfaces, do good work, and are fairly standard
tools (on a Unix system, at least).
Hello!
I wasn't aware there was a standard design,
Edison is a good standard (in particular, Collection.hs, found, for
example, in /usr/local/share/hugs/lib/exts/).
The following projects have a lot of helpful code:
http://sourceforge.net/projects/hbase/
Ferenc Wagner wrote:
Is there a high level Haskell graphics library that would
give functionality similar to gnuplot?
Why not simply USE gnuplot? Or plotutils? They have simple
textual interfaces, do good work, and are fairly standard
tools (on a Unix system, at least).
I would like to
Matthew Donadio [EMAIL PROTECTED] writes:
I would like to be able to have plotting capabilities
directly from a Haskell program rather than using a
spawned process
Plotutils' functionality is included in a library. You can
easily write an FFI wrapper for that. But I agree that a
native
John Hughes wrote:
I didn't find this when I needed to lock files, so my solution (under
Unix) was to write a little C code and call it via the FFI. I used a
single lock file, since my application was a CGI script which runs fairly
rarely -- there's no need for a finer grain of locking.
Many
i'm hoping to be able to simulate a sort of dynamic dispatch based on
class instances.
It seems you want to dispatch based not on a type but on the
constraint of a type.
You code almost worked. Here's the a bit updated and working version.
class Foo a where { foo :: a - Bool }
class Bar a
-- *Main test $ MkFoo (0::Int)
-- Just True
-- *Main test $ MkFoo (10::Int)
-- Just False
-- *Main test $ MkBar 'a'
-- Just True
-- *Main test $ MkBar 'b'
-- Just False
ah, yes. i was aware that would work. i forgot to mention the constraint
that i don't want the user to have to
On 20-Mar-2003, Hal Daume III [EMAIL PROTECTED] wrote:
i'm hoping to be able to simulate a sort of dynamic dispatch based on
class instances. basically a function which takes a value and depending
on what classes it is an instance of, does something.
I call this feature dynamic type class
This is yesterdays HEAD:
../../ghc/compiler/ghc-inplace -H32m -O0 -W -fno-warn-unused-matches
-fwarn-unused-imports -L/sw/lib -fglasgow-exts -cpp -Iinclude -#include HsBase.h
-funbox-strict-fields -package-name base -dcore-lint -W -fno-warn-unused-matches
-fwarn-unused-imports -keep-hc-files
This is yesterdays HEAD:
../../ghc/compiler/ghc-inplace -H32m -O0 -W
-fno-warn-unused-matches -fwarn-unused-imports -L/sw/lib
-fglasgow-exts -cpp -Iinclude -#include HsBase.h
-funbox-strict-fields -package-name base -dcore-lint -W
-fno-warn-unused-matches -fwarn-unused-imports
On Thu, Mar 20, 2003 at 12:08:22PM +, Simon Marlow wrote:
System/Random.hs:15:
Warning: Module `GHC.IOBase' is imported, but nothing
from it is used
(except perhaps instances visible in `GHC.IOBase')
ghc-5.05: panic! (the `impossible' happened, GHC version 5.05):
The Haddock documentation embedded in the GLUT package is derived from
The OpenGL Utility Toolkit (GLUT) Programming Interface API version 3:
http://www.opengl.org/developers/documentation/glut/spec3/spec3.html
http://www.opengl.org/developers/documentation/glut/glut-3.spec.ps.gz
On Thu, 20 Mar 2003, Simon Marlow wrote:
This is yesterdays HEAD:
../../ghc/compiler/ghc-inplace -H32m -O0 -W
-fno-warn-unused-matches -fwarn-unused-imports -L/sw/lib
-fglasgow-exts -cpp -Iinclude -#include HsBase.h
-funbox-strict-fields -package-name base -dcore-lint -W
Hi all,
I recently had some trouble trying to compile a simple Template Haskell
program
main = putStrLn (show ($[| 20 |]))
The following output was generated:
/home/sseefried/local/lib/ghc-5.05/HSbase_cbits.o: unknown symbol
`__umoddi3'
Loading package base ... linking ... ghc-5.05: panic!
{-
In FreeBSD ghc-5.04.2 the simple echo server below works fine.
(except for broken pipe. Installing signal handler will do good.)
It broadcasts Welcome! to all users repeatedly.
But in Windows XP, cygwin, ghc-5.04.3. It gets blocked on the
accept routine and wakes up for a moment when new
20 matches
Mail list logo