2016-03-20 11:38 GMT+01:00 Park SungMin : > > is it possible to expand via squared-bracket. > > i.e... [1 2 3] => (list 1 2 3) [(+ 1 2) 3] => (list (+ 1 2) 3) > > > I know (read-enable 'square-brackets) ...but It just same paren. > > [1 2 3] => (1 2 3) > > is it possible? > The closest thing is read-hash-extend: https://www.gnu.org/software/guile/manual/html_node/Reader-Extensions.html#Reader-Extensions You can have a look in here to see a more sophisticated example: https://bitbucket.org/panicz/slayer/src/8b741c21b7372c24874d7cd1875e2aae3fc43abe/guile-modules/extra/ref.scm?at=default&fileviewer=file-view-default#ref.scm-201 (however, I do not recommend to use such extensions)