Timeline for Country data archiving script using Google Spreadsheet
Current License: CC BY-SA 3.0
5 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Dec 5, 2013 at 20:11 | vote | accept | molnardenes | ||
Nov 4, 2013 at 21:53 | comment | added | Flambino | Priming's a good name for it. To be honest, I never thought of what one might call it; I'd probably just call it a "shortcut" or something :) But it's funny, I reasoned the same as you when I wrote my comment. If currying means reducing the arity of a function, then reducing the arity to zero would be "currying". But then every function invocation would fall in that category and it'd sorta lose its meaning | |
Nov 4, 2013 at 18:01 | comment | added | amon |
@Flambino You are technically correct, and I lied in my answer in order to pin a name on this specialization technique. I picked “currying” because I couldn't think of anything better, and because it is effectively a similar abstraction. Because JavaScript has side effects, I transformed archive :: (String, String) → () into CroatianArchive :: () → () , which can be seen as the end step of CroatianArchive' :: String → String → () → () . The word “priming” might be a better alternative (which is what Perl6 calls this, and which I emulated).
|
|
Nov 4, 2013 at 17:15 | comment | added | Flambino | I wouldn't call it currying or partial application since there's nothing partial about it. Your example doesn't curry a function; it just calls one. | |
Nov 3, 2013 at 18:32 | history | answered | amon | CC BY-SA 3.0 |