fpdart
fpdart copied to clipboard
map for Strings
How to iterate over strings? Since Strings are not iterable, functions like _.map
don't work. I was thinking maybe this library could define a new class like
class CharList with IterableMixin<String>
{
List<String> charList;
Char (String str)
{
charList = str.split("");
}
//Implement Iterable Interface
}
so you can get consistent iterables from Strings.