I got two array of characters, looking like this:
a, b, c, d, e, f, g
k, e, y
and im need to associate each element from first array to elements from second, like this:
a->k,
b->e,
c->y,
d->k,
e->e,
f->y,
g->k
but dont know how to implement this in functional style. Any help will be appreciated!