from typing import Iterable
from typing import Callable
from typing import Any
from typing import Iterator


def maf(funcs: Iterable[Callable], param: Any) -> Iterator:
    """
    map for functions.
    Like map, but input is list of functions which are applied to one parameter.

    Example
    -------
    >>> fs = [lambda x: x + 1, lambda x: x + 2]
    >>> list(maf(fs, 1))
    [2, 3]
    """
    return map(lambda f: f(param), funcs)