On Thu, Dec 06, 2001 at 11:19:31AM -0800, Hal Daume III wrote:
2) Any ways to get around it?
Is the following what you want?
data ShapeType = forall t. (Shape t) = ShapeType t
instance Shape ShapeType where { area (ShapeType a) = area a }
class Shape a where { area :: a - Double }
data
On Mon, Nov 19, 2001 at 10:14:02AM -0800, Sigbjorn Finne wrote:
I think that's a reasonable request, but the reason that
it isn't in there already is that the Posix library implements
just POSIX 1003.1a (1990), not also 1003.1b (1993),
which is when the (so-called) real-time/POSIX.4
On Tue, Nov 20, 2001 at 12:04:47PM +1100, Manuel M. T. Chakravarty wrote:
AFAIK no OS implements all of the Single Unix specification.
Nevertheless, I think, Sigbjorn is right. Ideally, we
should have a binding for Single Unix and on any particular
OS, you will have a subset of it available
Hello.
What about include O_SYNC flag in the Posix.OpenFileFlag?
Max.
___
Glasgow-haskell-users mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users
I guess it's a [mis]feature, since 5.00 worked, but can hardly
imagine anybody could need it.
===
Prelude h-IO.openFile /dev/zero IO.ReadMode
*** Exception: unsupported operation
Action: openFile
Reason: unknown file type
File: /dev/rtf0
Prelude Leaving GHCi.
max@max$cat /dev/zero
C-C
Strange, I'm not annoyed by this at all though I supposed to
be. First I make module alone, and have 'module Main' and
'main' function there, then I use it in project, and change
the name to whichever I want and rename or delete the 'main'
function.
Anyway there can be a workaround (I didn't try
I forgot to say: that's ghc-5.00.1, linux.
___
Glasgow-haskell-users mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users