On Wed, Feb 02, 2005 at 01:27:30PM +0600, Ivan Boldyrev wrote:
On 9007 day of my life Harri Haataja wrote:
text, but I haven't learned proper spell yet :) I use free
tools, so it may be difficult or impossible.
Do see http://any2djvu.djvuzone.org/
Unfortunately, creating script for
I'm sure I'm doing something stupid, but somehow ghc isn't recognizing the
existance of a MonadPlus instance for IO:
DarcsIO.lhs:48:
No instance for (MonadPlus IO)
arising from use of `mplus' at DarcsIO.lhs:48
In the definition of `foo':
foo = (fail aaack) `mplus` (fail
Ketil Malde [EMAIL PROTECTED] writes:
The Haskell functions accept or return Strings but interface to OS
functions which (at least on Unix) deal with arrays of bytes (char*),
and the encoding issues are essentially ignored. If you pass strings
containing anything other than ISO-8859-1, you
Peter Simons wrote:
Hmmm, I'm not really sure what equivalence for file
paths should mean in the presence of hard/symbolic links,
(NFS-)mounted file systems, etc.
Well, there is a sort-of canonic version for every path; on
most Unix systems the function realpath(3) will find it.
My
that instance seems to be only in Control.Monad.Error in the 'mtl'
package. It's not in the standard base package.
You may need to import an mtl module to tell GHC to look there.
Simon
| -Original Message-
| From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
| David Roundy
Glynn Clements writes:
Well, there is a sort-of canonic version for every path;
on most Unix systems the function realpath(3) will find
it. My interpretation is that two paths are equivalent
iff they point to the same target.
I think that any definition which includes an iff is
Am Mittwoch, 2. Februar 2005 14:48 schrieb David Roundy:
On Wed, Feb 02, 2005 at 02:41:42PM +0100, Daniel Fischer wrote:
Probably you haven't imported 'Control.Monad.Error', where the instance
is defined. I did and all went well.
Thanks, that did it. It's confusing that the instance is