for

    0

    0

    lucycodes42

    Haskell public recipes

    $ do echo "This is a for loop." done

    In the for loop, the code assigns the value of the variable coll to each of the elements in the array element. It then prints the string "This is a for loop." after each element in the array.

    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.