Skip to main content

Threading

7
  • ->

    Threads the expr through the forms. Inserts x as the second item in the first form, making a list of it if it is not a...

  • ->>

    Threads the expr through the forms. Inserts x as the last item in the first form, making a list of it if it is not a ...

  • as->

    Binds name to expr, evaluates the first form in the lexical context of that binding, then binds name to that result, r...

  • cond->

    Takes an expression and a set of test/form pairs. Threads expr (via ->) through each form for which the corresponding ...

  • cond->>

    Takes an expression and a set of test/form pairs. Threads expr (via ->>) through each form for which the corresponding...

  • some->

    When expr is not nil, threads it into the first form (via ->), and when that result is not nil, through the next etc

  • some->>

    When expr is not nil, threads it into the first form (via ->>), and when that result is not nil, through the next etc