annotate paste/paste.14653 @ 7449:1c3c4b1a93e5

<b_jonas> learn Church invented a sane model of computation, but Turing was better with marketing, so now people define theoretical computer science using obsolate hardware like tape recorders.
author HackBot
date Sun, 17 Apr 2016 22:22:41 +0000
parents 5db7fb79f86d
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
3979
5db7fb79f86d <hagb4rd> pastelog \\[ x \\|
HackBot
parents:
diff changeset
1 2008-09-02.txt:16:36:21: <AnMaster> 1> [ X || {a, X} <- [{a,1},{b,2},{c,3},{a,4},hello,"wow"]].
5db7fb79f86d <hagb4rd> pastelog \\[ x \\|
HackBot
parents:
diff changeset
2 2009-06-05.txt:15:41:48: <AnMaster> 8> [ X || {a, X} <- [{a,1},{b,2},{c,3},{a,4},hello,"foo"]].
5db7fb79f86d <hagb4rd> pastelog \\[ x \\|
HackBot
parents:
diff changeset
3 2009-06-25.txt:16:29:47: <ehird> > let primes = [ x | x <- [2..], not (any ((== 0) . (`mod` x)) primes) ] in primes
5db7fb79f86d <hagb4rd> pastelog \\[ x \\|
HackBot
parents:
diff changeset
4 2009-10-05.txt:20:19:29: <ais523> [ x | x ] is lambda x . x
5db7fb79f86d <hagb4rd> pastelog \\[ x \\|
HackBot
parents:
diff changeset
5 2010-03-09.txt:12:36:43: <ais523> alise: planned Feather syntax is [ x | f x ]
5db7fb79f86d <hagb4rd> pastelog \\[ x \\|
HackBot
parents:
diff changeset
6 2010-03-09.txt:15:00:03: <AnMaster> <ais523> alise: planned Feather syntax is [ x | f x ] <-- yay Feather!
5db7fb79f86d <hagb4rd> pastelog \\[ x \\|
HackBot
parents:
diff changeset
7 2013-02-21.txt:00:01:01: <nooga> i got let d n = [ x | x <- [1..n-1], n `mod` x == 0 ] and let sd n = sum $ d n
5db7fb79f86d <hagb4rd> pastelog \\[ x \\|
HackBot
parents:
diff changeset
8 2013-02-21.txt:14:04:30: <nooga> http://projecteuler.net/problem=21 my solution: let sd n = sum [ x | x <- [1..n-1], n `mod` x == 0 ] in sum [x | x <- [1..10000], x /= sd x, (sd $ sd x) == x]