Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
Domain Specific solution in Clear category for Remove Accents by veky
from unicodedata import normalize, combining as accent
from functools import partial as curry
from itertools import filterfalse as removeif
take_apart = curry(normalize, "NFD")
remove_accents = curry(removeif, accent)
make_str = ''.join
def compose(*funcs):
def composition(x):
for func in funcs:
x = func(x)
return x
return composition
checkio = compose(take_apart, remove_accents, make_str)
Feb. 22, 2015
Comments: