#haskell - Mon 12 Mar 2007 between 01:22 and 01:26



lambdabotDone.
Cale@where hdbc
lambdabothttp://software.complete.org/hdbc
Caleokay :)
bos_@where hsql
lambdabothttp://htoolkit.sourceforge.net
bos_@where takusen
lambdabotI know nothing about takusen.
bos_sod. oleg posted a pointer to a new version recently.
fyx:t nub
lambdabotforall a. (Eq a) => [a] -> [a]
kptsthanks
fyx:t nubBy
lambdabotforall a. (a -> a -> Bool) -> [a] -> [a]
dolio> let divides a b = b `mod` a == 0 in nubBy divides [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,...
fyx> nubBy (mod) [2..]
lambdabotadd an instance declaration for (Integral Bool)
fyx>:(
> nubBy ((== 0) . mod) [2..]
lambdabotCouldn't match expected type `a -> Bool'
Cale> nubBy (((== 0).) . mod) [2..]
lambdabot[2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29...
fyxooh
hpastesm annotated "nasty function" with "file arg processing - better" at http://hpaste.org/940#a6
Cale> nubBy (((== 0).) . flip mod) [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,...
Calethere we go
bos_@where+ takusen http://darcs.haskell.org/takusen
lambdabotDone.
fyx> last (nubBy (((== 0).) . flip mod) [2..])
lambdabotTerminated
fyxwhat is the biggest prim number :D
CaleFlip mod squad.
bos_it's a shame there isn't a "nubbly" in the prelude.
Calenubbly?
> nubbly xs = xs == nub xs ?
lambdabotParse error
zbrownAnyone have a good epxlanation for what the Functional Graph Library does?
Calezbrown: Represents and manipulates graphs.

Page: 2 9 16 23 30 37 44 51 58 65 72 79 86 93 100 107 

IrcArchive