|
|
|
|
|
by paultag
4524 days ago
|
|
Hey dude, language author here - yeah, a (lambda) will become a Python lambda if it's a single expression, otherwise it'll turn into an anonymous function (with a name like `_hy_anon_fn_00011`) and replace the lambda with a ref to the function. Allll taken care of :) |
|
Sometimes Hy seems a little undecided on language issues as simple as (defn vs defun) usage of ! for mutating objects or alphabetic chars, etc. I value freedom of choice, but are there any plans to unify this in the direction of "there is one way to do it"?