Update 2024-03-27: Greatly expanded the "Samples" page and renamed it to "Glossary".
Update 2024-04-04: Added 5 million mid-2011 posts from the k47 post dump. Browse (mostly) them here.
Update 2024-04-07: Added ~400 October 2003 posts from 4chan.net. Browse them here.

Welcome to Oldfriend Archive, the official 4chan archive of the NSA. Hosting ~170M text-only 2003-2014 4chan posts (mostly 2006-2008).
[3 / 0 / ?]

[1396574037] n+k not ``considered harmful''

No.959098 View ViewReplyOriginalReport
You have a basic type of natural numbers.
data Nat = Zero | Succ Nat
You can pattern match on them.
f (Succ (Succ (Succ n))) = n `times` (Succ (Succ (Succ Zero)))
That pattern ensures that the parameter is >= 3.
You have syntactic sugar for natural numbers.
data Nat = 0 | 1 | 2 | ...
How would you write f more simply?
f (n+3) = n * 3
Thus n+k is just pattern matching on pure naturals, proving that n+k is not harmful.