请教一个问题
(if (some condition)
(define a ...)
(define a ...))
这在guile1.8是允许的,在guile2.0中不被允许。有一种解决的方案是用set!,请问有什么其他的方法么?是否有这样的conditional-if,支持这种语法
(conditional-if (some condition)
(define a ...)
(define a ...))
solved
(define a
(if (some condition)
(body1)
(body2)))