Skip to content
This repository has been archived by the owner on May 12, 2018. It is now read-only.

Switch template instructions #195

Merged
merged 2 commits into from
Jun 15, 2014

Conversation

fgallaire
Copy link
Contributor

The form is:

{'case', SwitchVariable :: atom(), Values :: list(), Instructions :: list() | tuple()}.

This completes #138 "Support conditional template instructions".

@ghost
Copy link

ghost commented Jan 11, 2014

cc @nox

@jaredmorrow
Copy link
Contributor

Can we get an example and a test added for this feature?

@fgallaire
Copy link
Contributor Author

Hello,

I developed this feature because it was useful to me for that project:
https://github.com/fgallaire/colt-templates

As the "conditional template instruction" doesn't have test, I don't know exactly what to do.

@ghost
Copy link

ghost commented May 29, 2014

What's the status?

@tsloughter tsloughter closed this Jun 15, 2014
@fgallaire
Copy link
Contributor Author

Few lines of code for a (for some people) useful option, what is the problem ?

@tsloughter
Copy link
Member

Just trying to clean up and sort of start fresh. Closed everything that was opened before March of this year.

But, this looks fine. I think I'll reopen it and merge in.

@fgallaire
Copy link
Contributor Author

Thanks a lot @tsloughter

@tsloughter tsloughter reopened this Jun 15, 2014
tsloughter added a commit that referenced this pull request Jun 15, 2014
@tsloughter tsloughter merged commit 29a16cb into rebar:master Jun 15, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
3 participants