Skip to content
This repository was archived by the owner on Nov 14, 2017. It is now read-only.
This repository was archived by the owner on Nov 14, 2017. It is now read-only.

Passing functions as well as symbols to with-* functions? #20

@dparis

Description

@dparis

Any interest in being able to do the following?

(defn foo [a] true)

(with-handler! foo  ;;  <---   Note the ability to pass a function instead of a var
  Throwable
  (fn [e & args] ...))

It'd be an easy change to make, and I could do it in a way that would preserve existing behavior. If you think it'd be too confusing, or are just opposed stylistically, I'm fine to leave things as they are.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions