feat(frontends/lean): modify `begin-end` semantics, closes #258
feat(frontends/lean): modify `begin-end` semantics, closes #258