Skip to content

[feature request] function define in a function define #64

@Inc0n

Description

@Inc0n
ketos=> (define (x)
            (define (x-1) "hello")
            (x-1))
Traceback:

  In main, define x

execution error: type error: expected string; found list: (define (x-1) "hello")

Would something like this be planned to be added to ketos?
#60 is related in the sense that let-rec, and define in this way would achieve lambda recursion as well.

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