| lambdabot | Done. |
| Cale | @where hdbc |
| lambdabot | http://software.complete.org/hdbc |
| Cale | okay :) |
| bos_ | @where hsql |
| lambdabot | http://htoolkit.sourceforge.net |
| bos_ | @where takusen |
| lambdabot | I know nothing about takusen. |
| bos_ | sod. oleg posted a pointer to a new version recently. |
| fyx | :t nub |
| lambdabot | forall a. (Eq a) => [a] -> [a] |
| kpts | thanks |
| fyx | :t nubBy |
| lambdabot | forall 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..] |
| lambdabot | add an instance declaration for (Integral Bool) |
| fyx | >:( > nubBy ((== 0) . mod) [2..] |
| lambdabot | Couldn'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... |
| fyx | ooh |
| hpaste | sm 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,... |
| Cale | there we go |
| bos_ | @where+ takusen http://darcs.haskell.org/takusen |
| lambdabot | Done. |
| fyx | > last (nubBy (((== 0).) . flip mod) [2..]) |
| lambdabot | Terminated |
| fyx | what is the biggest prim number :D |
| Cale | Flip mod squad. |
| bos_ | it's a shame there isn't a "nubbly" in the prelude. |
| Cale | nubbly? > nubbly xs = xs == nub xs ? |
| lambdabot | Parse error |
| zbrown | Anyone have a good epxlanation for what the Functional Graph Library does? |
| Cale | zbrown: Represents and manipulates graphs. |