[
    {
        "name": "Loop",
        "comment": " Repeatedly apply a function to a value.\n\n# Looping\n@docs while, for\n",
        "unions": [],
        "aliases": [],
        "values": [
            {
                "name": "for",
                "comment": " Repeatedly apply a function to a value `n` times.\n\n    for 3 ((+) 5) 2 == 17\n",
                "type": "Int -> (a -> a) -> a -> a"
            },
            {
                "name": "while",
                "comment": " Repeatedly apply a function to a value *while* a predicate holds.\n\n    while (\\ n -> n < 10) ((+) 5) 2 == 12\n",
                "type": "(a -> Bool) -> (a -> a) -> a -> a"
            }
        ],
        "binops": []
    }
]