| Author | Dave Jarvis <email> |
|---|---|
| Date | 2015-02-09 19:04:05 GMT-0800 |
| Commit | 26bff20cf60e088ea0c866f3796c50fe0ea55471 |
| Parent | 702504c |
| ``` | ||
| -module people, | ||
| -root > people, | ||
| +module person, | ||
| person > person, | ||
| +.first_name > first, | ||
| +.last_name > name/last, | ||
| +.age > @age, | ||
| +address > address, | ||
| .*, | ||
| ``` | ||
| -This allows the module to be reused at any time using the *import* keyword: | ||
| +This allows the module to be reused at any time using the *import* keyword. | ||
| +For example: | ||
| ``` | ||
| -import people, | ||
| +root > people, | ||
| +person > person, | ||
| +.*, | ||
| +import person, | ||
| +; | ||
| +person.id = $id | ||
| ``` | ||
| Delta | 13 lines added, 4 lines removed, 9-line increase |
|---|