You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Things like typecheck and define-api need to be macros instead of functions. Things like class+method definitions (that define-api depends on) and JSON destructuring (see njson:jbind) would benefit from macros too.
It's too early to make macros—the whole things is still a melting pot of ideas. But it'll definitely a future direction once all the unknowns are figured out.
Another reason to wait: Scheme has syntax-case, which is notoriously unintuitive. Using it would be terribly for maintainability. Guile has a more familiar defmacro, but I haven't yet researched it properly.
The text was updated successfully, but these errors were encountered:
Things like
typecheck
anddefine-api
need to be macros instead of functions. Things like class+method definitions (thatdefine-api
depends on) and JSON destructuring (seenjson:jbind
) would benefit from macros too.It's too early to make macros—the whole things is still a melting pot of ideas. But it'll definitely a future direction once all the unknowns are figured out.
Another reason to wait: Scheme has
syntax-case
, which is notoriously unintuitive. Using it would be terribly for maintainability. Guile has a more familiardefmacro
, but I haven't yet researched it properly.The text was updated successfully, but these errors were encountered: