membrane icon indicating copy to clipboard operation
membrane copied to clipboard

Improve destructuring support in defui

Open phronmophobic opened this issue 1 month ago • 0 comments

There was some work done to improve destructuring support in https://github.com/phronmophobic/membrane/issues/53.

Some known issues:

;; namespaced keys aren't supported in let statements
(defui foo [{:keys [a]}]
  (let [{:foo/keys [b]} a]))
;; Unrecognized binding form

Destructuring in the args bindings for defui is not fully implemented (notably namespaced keyword support is missing).

There are probably other missing features.

phronmophobic avatar Nov 17 '25 17:11 phronmophobic