GHCi ãĢ㯠:e
ã§ããŽå ´ã§ãŊãŧãšãŗãŧããæ¸ããĻãããŽå ´ã§åčĒãŋčžŧãŋãããĻ
åäŊããšããĒãããã§ããĻããããã¨ãŖãĻãįž¨ãžãããŖããŽã§ Gauche ã§ã
;; autoload.scm
(use gauche.process)
(define-syntax edit
(syntax-rules ()
((_ name) (begin (run-process `(vim ,name) :wait #t)
(load (string-append "./" (x->string name)))) )))
$ tail .bashrc
alias gosh='rlwrap gosh -l ~/autoload.scm'
gosh> (edit 'test.scm)
i(define n 127)\<esc>:wq
gosh> n
127
ã§ããīŧ