Skip to content

$bracket-apply$ of SRFI 105 not implemented #47

Description

@damien-mattei

hello,
i can not use $bracket-apply$ and find no occurence of it in the repository.I suppose it is not implemented.
In theory it should be as curly infix is included in neotreic expression incuded in sweet expressions.
Bienvenue dans DrRacket, version 7.7 [3m].
Langage: sweet-exp racket, avec débogage; limite mémoire : 128 MB.

    (define T (make-vector 5))
    '{T[3] <- 7}
    '(<- (T 3) 7)

{T[3] <- 7}
. set!: not an identifier in: (T 3)

normally this should expand like:

'{T[3] <- 7}
'(<- ($bracket-apply$ T 3) 7)

{T[3] <- 7}
7

{T[3]}
7

i suppose sweet exp transforming T[3] in T(3) and is ignoring the $bracket-apply$

Regards,
Damien

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