[Haskell-cafe] A thought on the LinkedIn spam and an upstream spam filter

2013-09-23 Thread damodar kulkarni
of the linked-in (and other such companies) top brass or other linkedin top level technical staff, if you know them. If anybody on this list is working for linkedin, then this mail is for you too. [1] http://en.wikipedia.org/wiki/Do_Not_Disturb_%28telecommunications%29 Thanks and regards, -Damodar Kulkarni

Re: [Haskell-cafe] Minh Thu, please add me to your LinkedIn network

2013-09-22 Thread damodar kulkarni
What a surprise, I didn't know the real name of Haskell Cafe till date, BUT today I came to know it: it is Minh Thu V. linked in sucks ... Thanks and regards, -Damodar Kulkarni On Sun, Sep 22, 2013 at 2:53 PM, Kyle Hanson via LinkedIn mem...@linkedin.com wrote: [image: LinkedIn] http

Re: [Haskell-cafe] Mystery of an Eq instance

2013-09-21 Thread damodar kulkarni
... as anyway they themselves are asking for it and they are NOT relying on the Haskell's Num typeclass for it. Thanks and regards, -Damodar Kulkarni On Sat, Sep 21, 2013 at 9:46 AM, Mike Meyer m...@mired.org wrote: On Fri, Sep 20, 2013 at 7:35 PM, damodar kulkarni kdamodar2...@gmail.com wrote

[Haskell-cafe] Mystery of an Eq instance

2013-09-20 Thread damodar kulkarni
? If yes, how? In general, programmers are **advised** not to base conditional branching on tests for **equality** of two floating point values. 3. Is this particular behaviour GHC specific? (I am using GHC 6.12.1) If there are references on this please share. Thanks and regards, -Damodar Kulkarni

Re: [Haskell-cafe] Mystery of an Eq instance

2013-09-20 Thread damodar kulkarni
and regards, -Damodar Kulkarni On Fri, Sep 20, 2013 at 5:22 PM, Scott Lawrence byt...@gmail.com wrote: On ghc 7.6.3: Prelude 3.16227766016837956 3.1622776601683795 So if you specify a number with greater-than-available precision, it will be truncated. This isn't an issue

Re: [Haskell-cafe] Mystery of an Eq instance

2013-09-20 Thread damodar kulkarni
Thanks and regards, -Damodar Kulkarni On Fri, Sep 20, 2013 at 10:04 PM, Stijn van Drongelen rhym...@gmail.comwrote: On Fri, Sep 20, 2013 at 6:17 PM, damodar kulkarni kdamodar2...@gmail.comwrote: Ok, let's say it is the effect of truncation. But then how do you explain this? Prelude sqrt 10.0

Re: [Haskell-cafe] stream interface vs string interface: references

2013-09-03 Thread damodar kulkarni
stupid. What is really behind the Smalltalk's decision? Thanks and regards, -Damodar Kulkarni On Tue, Sep 3, 2013 at 12:06 PM, Richard A. O'Keefe o...@cs.otago.ac.nzwrote: On 3/09/2013, at 5:17 PM, damodar kulkarni wrote: I didn't want to clutter that thread so I am asking a question here

[Haskell-cafe] stream interface vs string interface: references

2013-09-02 Thread damodar kulkarni
made by O'Keefe. and what is the take of Haskell on this topic? Thanks and regards, -Damodar Kulkarni ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] definition of the term combinator

2013-08-24 Thread damodar kulkarni
Thanks. I found the explanation given at the link quite useful in shedding the confusion I had had. Thanks and regards, -Damodar Kulkarni On Sat, Aug 24, 2013 at 10:57 AM, Jason Dagit dag...@gmail.com wrote: On Fri, Aug 23, 2013 at 9:09 PM, damodar kulkarni kdamodar2...@gmail.comwrote

[Haskell-cafe] definition of the term combinator

2013-08-23 Thread damodar kulkarni
community, properly defined? In other words: Where can I find a formal and precise definition of the term combinator, as a term used by the Haskell community to describe something? Ref: http://en.wikipedia.org/wiki/Combinatory_logic Thanks and regards, -Damodar Kulkarni

Re: [Haskell-cafe] Applicative is like an Arrow

2013-08-18 Thread damodar kulkarni
they call Monad coproduct. The paper titled Composing Monads Using Coproducts is here. [1] I haven't understood it much till now, and it seems I will have to try real hard to read this paper. Ref. [1] http://isi.uni-bremen.de/~cxl/habil/papers/icfp02.pdf Thanks and regards, -Damodar Kulkarni

Re: [Haskell-cafe] Applicative is like an Arrow

2013-08-16 Thread damodar kulkarni
am wrong) I wonder, where and how the Monad transformers fit in here? Thanks and regards, -Damodar Kulkarni On Sat, Aug 17, 2013 at 1:07 AM, Mathijs Kwik math...@bluescreen303.nlwrote: Thiago Negri evoh...@gmail.com writes: I just stumbled upon the Applicative term. Arrows are quite

Re: [Haskell-cafe] Alternative name for return

2013-08-07 Thread damodar kulkarni
concept? It will help others to share *at least some amount of* of intuition (analogy) the originator had had. Are such thoughts documented in this case? Thanks and regards, -Damodar Kulkarni On Wed, Aug 7, 2013 at 11:37 AM, Richard A. O'Keefe o...@cs.otago.ac.nzwrote: On 7/08/2013, at 2:10 PM

Re: [Haskell-cafe] Alternative name for return

2013-08-06 Thread damodar kulkarni
to the same word. Haskell, being originated from _mathy_ people, we do get to _enjoy_ this effect. Having said this, it has actually helped me build a different type of 'intuition' for words and I do enjoy it. Thanks and regards, -Damodar Kulkarni On Wed, Aug 7, 2013 at 6:40 AM, Richard A. O'Keefe o

Re: [Haskell-cafe] need help with understanding expression

2012-11-24 Thread damodar kulkarni
Hi, Thanks for the clarification. This is clearly depravity. I am confused, in what sense this is depravity? Damodar On Sun, Nov 18, 2012 at 7:27 AM, Albert Y. C. Lai tre...@vex.net wrote: On 12-11-17 02:19 AM, damodar kulkarni wrote: Let's see tthis: Prelude :t 3 a 3 a :: (Num ([Char

Re: [Haskell-cafe] need help with understanding expression

2012-11-16 Thread damodar kulkarni
@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe -- Thanks and regards, -Damodar Kulkarni ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

[Haskell-cafe] Why Kleisli composition is not in the Monad signature?

2012-10-15 Thread damodar kulkarni
Hi, The Monad class makes us define bind (=) and unit (return) for our monads. Why the Kleisli composition (=) or (=) is not made a part of Monad class instead of bind (=)? Is there any historical reason behind this? The bind (=) is not as elegant as (=), at least as I find it. Am I missing

Re: [Haskell-cafe] Why Kleisli composition is not in the Monad signature?

2012-10-15 Thread damodar kulkarni
@Jake In my opinion, this is not as nice as the do-notation version, but at least it's compositional: That's an important point you have made, as Haskellers value code composition so much. If code composition is the holy grail, why not encourage the monadic code, too, to be compositional?

[Haskell-cafe] Benchmarks for graph algorithms

2012-10-06 Thread damodar kulkarni
Hi cafe, Where do Haskell and DPH stand in comparison to C/OpenMP w.r.t. graph algorithms? Are benchmarks for graph algorithms available for Haskell like the ones we find at http://www.graphanalysis.org/benchmark/? - Damodar ___ Haskell-Cafe mailing

Re: [Haskell-cafe] Is Hackage down?

2012-09-13 Thread damodar kulkarni
It shows hackage down: http://www.downforeveryoneorjustme.com/http://hackage.haskell.org/ - damodar On Fri, Sep 14, 2012 at 10:33 AM, C K Kashyap ckkash...@gmail.com wrote: Is it just me or is Hackage indeed been going down more frequently of late? Regards, Kashyap

Re: [Haskell-cafe] Invitation to connect on LinkedIn

2012-09-12 Thread damodar kulkarni
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? As an aside, can we not automatically delete all messages to haskell mailing-lists whose from field contains

Re: [Haskell-cafe] Function names in Haskell lib not first-class on web!

2012-08-31 Thread damodar kulkarni
, damodar kulkarni kdamodar2...@gmail.com wrote: Note: google badly fails to search these functions identifiers. http://symbolhound.com/ -- brandon s allbery allber...@gmail.com wandering unix systems administrator (available) (412) 475-9364 vm/sms

[Haskell-cafe] Function names in Haskell lib not first-class on web!

2012-08-30 Thread damodar kulkarni
Hi Cafe, It seems, the function names in Haskell libs are not first-class objects, AT LEAST when it comes to searching for them of the net! I was trying to search for the following Haskell functions in the mailing list archives. Here is a summary of the responses I have had from various servers

Re: [Haskell-cafe] [Haskell] Spam on the Haskell wiki

2012-08-03 Thread damodar kulkarni
Hi Gwern, First of all, thanks for your patience. I am willing to do administrator tasks. 4. ReCAPTCHA enabled for 'edits adding new, unrecognized external links' - which is all of the spam. This is already enabled. I guess the problem may be due to

Re: [Haskell-cafe] [Haskell] Spam on the Haskell wiki

2012-08-02 Thread damodar kulkarni
We could even have a report spam button on each page, and if enough users click on it (for a given revision), the revision gets forwarded to a moderator. I think, this will be of real use, but should be used along with CAPTCHA because then spammers may report spam for everything and anything

Re: [Haskell-cafe] Reddy on Referential Transparency

2012-07-27 Thread damodar kulkarni
So a language is referentially transparent if replacing a sub-term with another with the same denotation doesn't change the overall meaning? But then isn't any language RT with a sufficiently cunning denotational semantics? Or even a dumb one that gives each term a distinct denotation.

Re: [Haskell-cafe] Martin Odersky on What's wrong with Monads

2012-06-28 Thread damodar kulkarni
Any idea whether Martin Odersky has read this discussion? Thanks and regards, -Damodar Kulkarni On Fri, Jun 29, 2012 at 12:23 AM, Dominique Devriese dominique.devri...@cs.kuleuven.be wrote: 2012/6/27 Tillmann Rendel ren...@informatik.uni-marburg.de: MightyByte wrote: Of course every

Re: [Haskell-cafe] The use of continuation monad in C++

2012-06-21 Thread damodar kulkarni
Hello, Thanks for the post. It was very useful to me in getting some insight into this set of concepts. Also your others posts on C++ and FP are very useful. Damodar On Thu, Jun 21, 2012 at 1:17 AM, Bartosz Milewski bart...@fpcomplete.comwrote: I published a blog for C++ programmers about the

[Haskell-cafe] filter using foldr point-free?

2009-11-10 Thread damodar kulkarni
Hi, We can define filter using foldr as under: filter1 p = foldr (\x xs - (if (p x) then (x:xs) else xs)) [] Can we define filter using foldr but in pointfree style? Thanks -DM ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org

Re: [Haskell-cafe] Counting beta reductions for a Haskell program...

2008-11-21 Thread damodar kulkarni
Yes Hugs has a option +s but it counts some sort of reductions not exactly the beta reductions. Thanks. -Damodar 2008/11/22 Adrian Neumann [EMAIL PROTECTED] Hugs has, afaik, a output reduction count option somewhere. At least it had one the last time I used it. - Adrian Am 22.11.2008 um