Skip to content

Instantly share code, notes, and snippets.

@lumie1337
Created June 21, 2020 06:46
Show Gist options
  • Save lumie1337/e54dd2121544b3a71244ff686eaea826 to your computer and use it in GitHub Desktop.
Save lumie1337/e54dd2121544b3a71244ff686eaea826 to your computer and use it in GitHub Desktop.
import Data.Char
import Data.List
main=interact$concat.(>>=uncurry (replicate.read).span isDigit).words
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment