I've reduced inheritance to 99 characters, applicable to producing any function, not just datatype definitions, and am trying to find how publishable that is... (define (make p b) (letrec ((f (λ (x) ((p f b) x)))) f)) (define ((inherit p q) f s) (p f (q f s)))
Name:
Anonymous2016-12-10 21:31
Now with World Wide Web™ technology, anyone can be a publisher!
Name:
Anonymous2016-12-10 21:38
>>1 Looks like obfuscated code to me. Can you write it in JavaScript instead?
>>7 That cost gets amortized over thousands of uses of "define".
Name:
Anonymous2016-12-11 14:23
>>8 but it doesn't get amortized in 99 characters you dumb fuck
Name:
Anonymous2016-12-11 14:26
>>9 That's why it should be included in the language, so people don't have to define it over and over. define, on the other hand, should be deprecated.
Name:
Anonymous2016-12-11 14:31
>>10 if they do it then in 10 years another /prog/ shitposter will complain that def should be deprecated and replaced with d for thrice the productivity