You are viewing a single comment's thread. Return to all comments →
main1 :: IO () main1 = traverse_ TIO.putStrLn . ((\inputString -> mconcat $ (\text -> T.drop 1 text <> T.take 1 text) <$> T.chunksOf 2 (T.pack inputString))<$>) =<< ((`replicateM` getLine) =<< read @Int<$> getLine)
Seems like cookies are disabled on this browser, please enable them to open this website
String-o-Permute
You are viewing a single comment's thread. Return to all comments →