Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Customizing skeleton of if -- then -- else #67

Closed
psibi opened this issue May 23, 2014 · 1 comment · May be fixed by #99
Closed

Customizing skeleton of if -- then -- else #67

psibi opened this issue May 23, 2014 · 1 comment · May be fixed by #99

Comments

@psibi
Copy link

psibi commented May 23, 2014

Is there a way to customize skeleton of if then else such that it becomes:

if undefined
then undefined
else undefined

I know that it doesn't comply with your style guide, but for simple cases it seems an overkill.

@ivan-m
Copy link
Collaborator

ivan-m commented May 24, 2014

I think it's done with the indentations so it also works in do-blocks, otherwise more context would be needed to determine whether to indent the then and else or not.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants