sln_2015_10
Copyright(c) Eric Mertens 2015
LicenseISC
Maintaineremertens@gmail.com
Safe HaskellNone
LanguageHaskell2010

Main

Description

Synopsis

Documentation

main :: IO () Source #

>>> :main
252594
3579328

lookAndSay :: String -> String Source #

Look and say process.

>>> lookAndSay "1"
"11"
>>> lookAndSay "11"
"21"
>>> lookAndSay "21"
"1211"
>>> lookAndSay "1211"
"111221"
>>> lookAndSay "111221"
"312211"