On 9/14/12 5:16 PM, Eric Velten de Melo wrote:
But now I'm kinda lost. Is there an easy way to explain the difference between:
-iteratee
-conduit
-enumerator
John Lato's iteratee library is the original one based on Oleg
Kiselyov's work. I've used it a fair deal and am quite fond of it.
Some
Antoine has it right, the language is lifted from the RFC.
Chris Heller
SAS - Advanced Analytics
Teragram Research & Development
phone: 1-617-576-6800 x54237
mobile: 1-617-460-3643
email: hel...@teragram.com
On Sep 16, 2012, at 7:14 PM, Antoine Latter wrote:
> On Sun, Sep 16, 2012 at 5:04 PM, R
On Sun, Sep 16, 2012 at 5:04 PM, Richard O'Keefe wrote:
>
> On 15/09/2012, at 5:14 AM, Chris Heller wrote:
>
>> You might want to have a look at the time-recurrence package:
>> http://hackage.haskell.org/package/time-recurrence
>>
>> For your simple cases you would do something like:
>>
>> Each s
On 15/09/2012, at 5:14 AM, Chris Heller wrote:
> You might want to have a look at the time-recurrence package:
> http://hackage.haskell.org/package/time-recurrence
>
> For your simple cases you would do something like:
>
> Each second:
>
> starting (UTCTime ...) $ recur secondly
>
> Each
Someone replied saying that I could use a HashMap and a fold to do this,
and that solution should work quite well.
Bonus points if there's a solution without the space overhead of a hashmap
:-) I'm hoping for an unboxed vector.
--Myles
On Sun, Sep 16, 2012 at 12:40 PM, Myles C. Maxfield <
myles.
Mind if I join you in praising this?
On Sep 17, 2012, at 12:06 AM, Kristopher Micinski
wrote:
> Agreed. Great. I still contend that it would be cool to get this to
> be a real thing at something like the Haskell workshop, I think
> hearing the different perspectives would be an interesting in
Agreed. Great. I still contend that it would be cool to get this to
be a real thing at something like the Haskell workshop, I think
hearing the different perspectives would be an interesting insight
into the many different ways to explain monads. But I suppose the way
to start would be to put up
Agreed. Great. I still contend that it would be cool to get this to
be a real thing at something like the Haskell workshop, I think
hearing the different perspectives would be an interesting insight
into the many different ways to explain monads. But I suppose the way
to start would be to put up
Hi Tillmann. Wow. Lovely and spot on! And I almost never hear monad
explanations without wincing. Thanks for sharing. -- Conal
On Sun, Sep 16, 2012 at 7:48 AM, Tillmann Rendel <
ren...@informatik.uni-marburg.de> wrote:
> Hi,
>
>
> Kristopher Micinski wrote:
>
>> Everyone in the Haskell cafe prob
Hello,
I'm pleased to announce the release of Juicy.Pixels (a pure Haskell
library for image loading and writing) in version 2.0.
The new features of this version are a Gif file decoder, and a rework of
the plane extraction part to be type safe
github: https://github.com/Twinside/Juicy.Pix
Hello,
I've been writing dynamic programming (dp) algorithms in imperative
languages for years, and I was thinking recently about how to use it in a
Haskell context. In particular, I want to write a function that takes an
ordered collection of items and produces a new item to insert into the
order
On Sun, Sep 16, 2012 at 7:57 AM, Marco Túlio Pimenta Gontijo
wrote:
> I have a question about cost-centre names, as shown on .hp files
> produced by +RTS -hc. They have the form A/B/C/D/E/F/G/... Usually,
> it seems that it means A, called by B, called by C, etc, but that's
> not the case someti
Hi,
Kristopher Micinski wrote:
Everyone in the Haskell cafe probably has a secret dream to give the
best "five minute monad talk."
(1) Most programming languages support side effects. There are different
kinds of side effects such as accessing mutable variables, reading
files, running in par
Hi Florian,
Will this do?
class Tc a where
tc :: Exp -> Maybe (Term a)
instance Tc Int where
tc (Lit i) = return (TLit i)
tc (Succ i) = tc i >>= return . TSucc
tc (IsZero i) = Nothing
tc e= tcIf e
instance Tc Bool where
tc (Lit i) = Nothing
tc (Succ i)
It shoudn't typecheck.
Suppose you have instances like
instance ReplaceOneOf Foo where
type Item Foo = Baz
element = elementFoo
instance ReplaceOneOf Bar where
type Item Bar = Baz
element = elementBar
Now if you call replaceOneOf manyBazs foo1 foo2, Haskell should consult
"element ::
Hi.
I cannot make this program type check:
{-# LANGUAGE TypeFamilies, FlexibleContexts #-}
import qualified Data.ListLike as LL
class LL.ListLike full (Item full) => ReplaceOneOf full where
type Item full :: *
replaceOneOf :: [Item full] -> full -> full -> full
repl
Hi.
I have a question about cost-centre names, as shown on .hp files
produced by +RTS -hc. They have the form A/B/C/D/E/F/G/... Usually,
it seems that it means A, called by B, called by C, etc, but that's
not the case sometimes. I have a case here (called with -L200):
replaceOneOf’/clean/tagsTe
yeah , cabal install regex.compat fixes my problems ,2 . Thx .
On Friday, January 29, 2010 11:51:23 AM UTC+8, zaxis wrote:
>
>
> import Text.Regex
>
> date_by_ntday dateStr ntday = do
> let [y,m,d] = map (\x -> read x::Int) $ splitRegex (mkRegex "-")
> dateStr
>
>
> %ghc --version
On Wed, Sep 12, 2012 at 7:21 PM, damodar kulkarni wrote:
> Hi,
> Correct me if I am wrong, but by looking at the way the message is
> created, I think, LinkedIn is acting a kind of spammer these days. Shall we
> lodge protest against it as a community?
>
I'd support such a protest.
> As an asid
19 matches
Mail list logo