Skip to content

Instantly share code, notes, and snippets.

View pjrt's full-sized avatar
🤔
Thinking about why Github now has statuses

Pedro Rodriguez Tavarez pjrt

🤔
Thinking about why Github now has statuses
View GitHub Profile
import Data.List (intersperse, foldl')
import Data.List.Split (chunksOf)
numbers :: Int -> String
numbers c =
case c of
0 -> ""
1 -> "one"
2 -> "two"