Post History
Haskell, 50 bytes [take 9$drop i$cycle[1..9]|i<-[0,3,6,1,4,7,2,5,8]] Try it online!
Answer
#2: Post edited
# [Haskell], 54 bytes- <!-- language-all: lang-hs -->
map(take 9.(`drop`l))[0,3,6,1,4,7,2,5,8]l=cycle[1..9][Try it online!][TIO-kqgtovfx]- [Haskell]: https://www.haskell.org/
[TIO-kqgtovfx]: https://tio.run/##DctLDkAwEADQvVN0STIa9e@iJymJpuoTUybYuLzy9m8x1@YQg1dd8Ibi22yOSR4P43nQgEmiMyigBgElNJBDBW0fobKPRacF57L/27ozxehc95v58NoJzXyF1BJ9 "Haskell – Try It Online"
- # [Haskell], 50 bytes
- <!-- language-all: lang-hs -->
- [take 9$drop i$cycle[1..9]|i<-[0,3,6,1,4,7,2,5,8]]
- [Try it online!][TIO-kqgtrhor]
- [Haskell]: https://www.haskell.org/
- [TIO-kqgtrhor]: https://tio.run/##BcE5DoAgEADAr2xBuRrvI9GXIAVBVAIoERoT3@46c8hotXPk54V4klbDyNb7CmCYepTTvMzzUbxmyniBNXZYYoM9VtjiIAR5aU6YIdzmTODpU5uTe6RMhfAD "Haskell – Try It Online"
#1: Initial revision
# [Haskell], 54 bytes <!-- language-all: lang-hs --> map(take 9.(`drop`l))[0,3,6,1,4,7,2,5,8] l=cycle[1..9] [Try it online!][TIO-kqgtovfx] [Haskell]: https://www.haskell.org/ [TIO-kqgtovfx]: https://tio.run/##DctLDkAwEADQvVN0STIa9e@iJymJpuoTUybYuLzy9m8x1@YQg1dd8Ibi22yOSR4P43nQgEmiMyigBgElNJBDBW0fobKPRacF57L/27ozxehc95v58NoJzXyF1BJ9 "Haskell – Try It Online"