System functions should be first-class #16

Open
opened 2024-08-18 11:24:01 +02:00 by liquidev · 0 comments
liquidev commented 2024-08-18 11:24:01 +02:00 (Migrated from github.com)

Right now, it's impossible to pass a system function into another function without wrapping it in a lambda:

(def example
    (fn (f)
        (f 8 (rgba 0 0 0 0) (vec))))

(example stroke)
Right now, it's impossible to pass a system function into another function without wrapping it in a lambda: ``` (def example (fn (f) (f 8 (rgba 0 0 0 0) (vec)))) (example stroke) ```
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: liquidex/rkgk#16
No description provided.