Irken does not like the form (fn 1).x
, when x returns a record {x=1}
.
If I instead store (fn 1)
in a variable, then I can do variable.x
just fine.
(include "lib/basis.scm")
(define (a r) {x=r})
(define b (a 1))
(printf (int b.x))
; (printf (int (a 10).x)) ; this produces a compile error