for_

    0

    0

    lucycodes42

    Haskell public recipes

    <-

    The above code will iterate over the collection coll and for every element in coll, assign the element to the variable element.

    Shortcut: for_

    for_ ${coll} $ \\${element:element} ->
      ${element:element}
    Codiga Logo
    Codiga Hub
    • Rulesets
    • Playground
    • Snippets
    • Cookbooks
    soc-2 icon

    We are SOC-2 Compliance Certified

    G2 high performer medal

    Codiga – All rights reserved 2022.