« first day (143 days earlier)
← previous day
next day →
last day (1820 days later) »
Laikoni
00:13
@WheatWizard I wonder whether there is something shorter than my straight forward approach:
48 bytes
.
Wheat Wizard
Perhaps, I couldn't even get something that short.
21 hours later…
flawr
21:07
@Laikoni I was fiddling with your solution, and I was a little bit surprized that
this
works at first.
(I changed your last line to this:
n%m|(d,0)<-divMod m n=n:n%d|k<-n+1=k%m
)
In your case it is longer, but maybe there are other applications:)
@Laikoni You found a tad bit optimized version of
this from '14
:)
« first day (143 days earlier)
← previous day
next day →
last day (1820 days later) »
all rooms
Transcript for
Feb
22
Feb '18
23
Feb
24
Of Monads and Men
For discussion about, learning of and golfing in Haskell
codeg...
haskell
join this room
about this room
00:00
06:00
12:00
18:00
all times are UTC
site design / logo © 2025 Stack Exchange Inc;
legal
mobile