#haskell - Sun 25 Mar 2007 between 02:35 and 02:44

NY Lost Funds



lambdabotNub \Nub\, n.
A jag, or snag; a knob; a protuberance; also, the point or
gist, as of a story. [Colloq.]
[1913 Webster]
[39 @more lines]
sjanssennub means "gist" or "point"
dmeadah
newsham?src nubBy
lambdabotnubBy eq [] = []
nubBy eq (x:xs) = x : nubBy eq (filter (\ y -> not (eq x y)) xs)
sorear> nubBy(((/=1).).gcd)[2..]
lambdabot[2,3,5,7,11,13,17,19,23,29,31,37,41,43,47,53,59,61,67,71,73,79,83,89,97,101,...
glguy(>1) shorter than (/=1) :-)
soreargood idea!
> nubBy(((>1).).gcd)[2..]
lambdabot[2,3,5,7,11,13,17,19,23,29,31,37,41,43,47,53,59,61,67,71,73,79,83,89,97,101,...
dmead/=
is not equal?
sorearyes
newshamso readable
dmeadhehe yea
i actually tried != a few times
sorearstrict equality?
:p
dmeadhah
like perl's ===
my proff said
==
is equal
===
is REALLY equal
sorear=== is like lisp's eq? (with == eqv? or equal?)
dmeadi liked calling it REALLY equal
:P
sorearmmh, === isn't listed in my perlop(3)
allbery_bthat's actually perl6
perl5 has no ===
dmeadreally?
i thought it was perl 5.8 or something
allbery_bmaybe there's one in 5.10

Page: 1 8 15 22 29 36 43 50 57 64 71 78 85 92 99 106 

IrcArchive

NY Lost Funds