Yes, it is what I found works so well. It is easy to write short, specific functions in Elixir and adding Typespecs to theses functions is like typing a block of code. Within the functions everything is "easily" understandable.
Input
> Enumerable.Map(Input, type-speccd functionA)
> Enumerable.Map(Input, type-speccd functionB)