Timeline for Count up diagonally!
Current License: CC BY-SA 3.0
4 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jul 31, 2017 at 12:16 | comment | added | Shaggy |
54 bytes: x=>y=>g=(s='')=>y<x?s:s+'\n'+g(s.replace(/./g,' ')+x++) Call as f(x)(y)() .
|
|
Jul 31, 2017 at 10:17 | history | edited | tsh | CC BY-SA 3.0 |
[Edit removed during grace period]
|
Jul 31, 2017 at 10:09 | comment | added | Shaggy |
55 bytes: y=>g=(x,s='')=>y<x?s:s+'\n'+g(x+1,s.replace(/./g,' ')+x) Call with currying with the integers reversed: f(103)(95) .
|
|
Jul 31, 2017 at 10:04 | history | answered | tsh | CC BY-SA 3.0 |