Skip to content

Javascript named Functions shouldn't be lambdafied #7

@geofflane

Description

@geofflane

These are currently correct:
var foo = function() { } - is lambdified as var foo = λ
_.map(arg, function(x) {}) is lambdified as _.map(arg, λ (x) {})

But a named function like:
function foo(args) {} currently turns into λ foo(args) {}. That didn't seem correct to me. It should be left alone since it's a named function and not an anonymous.

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