kirin.dialects.ilist.for_each
← Module overview
function
source
functionfor_each¶source
kirin.dialects.ilist.for_each
Signature
def for_each(fn: typing.Callable[[ElemT], typing.Any], collection: IList[ElemT, LenT] | list[ElemT]) -> NoneParameters
| Name | Type | Description |
|---|---|---|
fn | typing.Callable[[ElemT], typing.Any] | |
collection | IList[ElemT, LenT] | list[ElemT] |