Timeline for Print number triangle
Current License: CC BY-SA 3.0
5 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Mar 14, 2015 at 1:47 | comment | added | nimi |
@Zgarb: Thanks, but if I swap out enumFromTo 1 , I have to give the main function a name, too, so it's 5 bytes. Without the name it would be a let construct: let e=enumFromTo 1 in (putStr.unlines.map(unwords.map show.e).e) 5
|
|
Mar 14, 2015 at 1:41 | history | edited | nimi | CC BY-SA 3.0 |
deleted 43 characters in body
|
Mar 13, 2015 at 8:40 | comment | added | Zgarb |
Doing e=enumFromTo 1 saves 7 bytes.
|
|
Mar 13, 2015 at 6:32 | history | edited | nimi | CC BY-SA 3.0 |
[Edit removed during grace period]
|
Mar 12, 2015 at 23:48 | history | answered | nimi | CC BY-SA 3.0 |