agda / agda-stdlib

The Agda standard library

Home Page:https://wiki.portal.chalmers.se/agda/Libraries/StandardLibrary

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

`Data.String` missing `map`

lemastero opened this issue · comments

Hi I was using Data.String and I could not find a way to map overs strings. I end up with:

map : (Char  Char)  String  String
map f = fromList ∘ List.map f ∘ toList

would it make sense to add to Data/String/Base?

I would love to make such contribution 😄

Yes, such a contribution would be welcome!

Thank you for help 🙇