Skip to content

bug fix for newAdder() #2

@HuSharp

Description

@HuSharp

Get this output
Welcome to be friends with HuSharp's Rabbit!

>> let newAdder = fn(x) { fn(y) { x + y; }; };
CompiledFunction[0x140000a08a0]
>> let addTwo = newAdder(2);
CompiledFunction[0x140000a0870]
>> addTwo
CompiledFunction[0x140000a0870]
>> addTwo(1)
2
>> addTwo(2)
4
>> addTwo(3)
6

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions