Prelude> import Data.ListPrelude Data.List> (map (\xs -> (head xs, (length xs))) . group) "aaaabbbcca"[('a',4),('b',3),('c',2),('a',1)]#Haskellhttps://twitter.com/Al_Grigor/status/1357028887209902088
Fosstodon is an English speaking Mastodon instance that is open to anyone who is interested in technology; particularly free & open source software.