Re: [Haskell-cafe] Type of scramblings

2012-10-11 Thread Marcelo Sousa
Hi Roman, On Tue, Oct 9, 2012 at 12:11 PM, Roman Cheplyaka wrote: > I am reading through Oleg's "Eliminating translucent existentials"[1]. > > [1]: > http://okmij.org/ftp/Computation/Existentials.html#eliminating-translucent > > He draws a distinction between > > forall a . [a] -> [a] > > and

Re: [Haskell-cafe] One of the new buzz phrases is "Event-Sourcing"; is Haskell suitable for this?

2012-09-30 Thread Marcelo Sousa
Hi, On Sun, Sep 30, 2012 at 4:22 AM, Alberto G. Corona wrote: > It´´s a very iteresting concept. > > The Workflow Monad transformer [1], in Control.Workflow perform > logging and recovery of application istate from the log created. > It has no implementation of roll-back or limited recovery upto

[Haskell-cafe] bus error trying to use Network

2010-12-16 Thread Marcelo Sousa
Hi, I'm getting a bus error with Network library on my Mac OS X 10.6.5. I have ghc 6.12.3, network 2.3. As an example: main = withSocketsDo $ do sock <- listenOn $ PortNumber 4244 (handle,host,port) <- accept sock hPutStr handle "Hi!" sClose sock

[Haskell-cafe] doesDirectoryExist is always returning False

2010-11-20 Thread Marcelo Sousa
Hi, I'm having currently a problem with System.Directory in my mac os. System Version: Mac OS X 10.6.5 Kernel Version: Darwin 10.5.0 Prelude System.Directory> let dirTest = do {dir <- getCurrentDirectory; doesDirectoryExist dir} Prelude System.Directory> dirTest False I notice

[Haskell-cafe] yi-editor: Duplicate instance declarations

2009-09-27 Thread Marcelo Sousa
Hey guys, I'm trying to install yi using cabal but I got this error. Any ideas how to solve it?! I'm using ghc-6.10.1 and cabal-install version 0.6.2 using version 1.6.0.2 of the Cabal library. Thanks, Marcelo -- Code -- $ cabal install yi Resolving dependencies... Configuring yi-0.6.1... Prep