G'day Marco.
Quoting Marco Righele <[EMAIL PROTECTED]>:
> How can I achieve the same effect (if it is ever possible)?
> I feel like it should be something almost trivial, but I really can't get it.
One approach is to use a monad which works like Maybe, but as a monad
transformer over IO.
You mi
> Doesn't MySql listen on a port? Is that protocol documented? I've used
> postgresql that way from Haskell.
Yes It's usually operated through a TCP/IP (port 3306), and I'd
contemplated this, but I was hoping for something standard and off the
shelf.
> Another thought, which I hesitate to even me
On Fri, Mar 26, 2004 at 02:04:21PM +, MR K P SCHUPKE wrote:
>
> Would it ba faster to store the strings as UArrays and do the
> comparison in Haskell?
I would guess not, at least not for large strings. But in any case, about
half the time my ForeignPtrs point to mmapped files, so using UArra
For operating on nested monads is do:
declare a class MonadIO which contains the IO functions along
with monad monad-transformer lifted versions, for example:
class Monad m => MonadIO m where
ioPrint :: Show a => a -> m ()
instance MonadIO IO where
ioPrint = print
instance (MonadIO m,Mona