Files
sex/tests/modules/shelf/page.sex
alex-eg e029a234b7 look for an import beside the file it is written in
Imports were looked for from the unit's directory, so a module in a
subdirectory could not import its neighbours: a pub import failed, a
private one lost its handle declarations, and --public-interface changed
with where sexc ran.
2026-10-20 13:39:45 +03:00

5 lines
110 B
Scheme

(pub record page ((number int)))
(pub fn page-after ((p page)) page
(return #(page : (+ (. p number) 1))))