124 lines
3.2 KiB
Markdown
124 lines
3.2 KiB
Markdown
|
# House
|
||
|
|
||
|
Welcome to House on Exercism's Elixir Track.
|
||
|
If you need help running the tests or submitting your code, check out `HELP.md`.
|
||
|
|
||
|
## Instructions
|
||
|
|
||
|
Recite the nursery rhyme 'This is the House that Jack Built'.
|
||
|
|
||
|
> [The] process of placing a phrase of clause within another phrase of clause is called embedding.
|
||
|
> It is through the processes of recursion and embedding that we are able to take a finite number of forms (words and phrases) and construct an infinite number of expressions.
|
||
|
> Furthermore, embedding also allows us to construct an infinitely long structure, in theory anyway.
|
||
|
|
||
|
- [papyr.com][papyr]
|
||
|
|
||
|
The nursery rhyme reads as follows:
|
||
|
|
||
|
```text
|
||
|
This is the house that Jack built.
|
||
|
|
||
|
This is the malt
|
||
|
that lay in the house that Jack built.
|
||
|
|
||
|
This is the rat
|
||
|
that ate the malt
|
||
|
that lay in the house that Jack built.
|
||
|
|
||
|
This is the cat
|
||
|
that killed the rat
|
||
|
that ate the malt
|
||
|
that lay in the house that Jack built.
|
||
|
|
||
|
This is the dog
|
||
|
that worried the cat
|
||
|
that killed the rat
|
||
|
that ate the malt
|
||
|
that lay in the house that Jack built.
|
||
|
|
||
|
This is the cow with the crumpled horn
|
||
|
that tossed the dog
|
||
|
that worried the cat
|
||
|
that killed the rat
|
||
|
that ate the malt
|
||
|
that lay in the house that Jack built.
|
||
|
|
||
|
This is the maiden all forlorn
|
||
|
that milked the cow with the crumpled horn
|
||
|
that tossed the dog
|
||
|
that worried the cat
|
||
|
that killed the rat
|
||
|
that ate the malt
|
||
|
that lay in the house that Jack built.
|
||
|
|
||
|
This is the man all tattered and torn
|
||
|
that kissed the maiden all forlorn
|
||
|
that milked the cow with the crumpled horn
|
||
|
that tossed the dog
|
||
|
that worried the cat
|
||
|
that killed the rat
|
||
|
that ate the malt
|
||
|
that lay in the house that Jack built.
|
||
|
|
||
|
This is the priest all shaven and shorn
|
||
|
that married the man all tattered and torn
|
||
|
that kissed the maiden all forlorn
|
||
|
that milked the cow with the crumpled horn
|
||
|
that tossed the dog
|
||
|
that worried the cat
|
||
|
that killed the rat
|
||
|
that ate the malt
|
||
|
that lay in the house that Jack built.
|
||
|
|
||
|
This is the rooster that crowed in the morn
|
||
|
that woke the priest all shaven and shorn
|
||
|
that married the man all tattered and torn
|
||
|
that kissed the maiden all forlorn
|
||
|
that milked the cow with the crumpled horn
|
||
|
that tossed the dog
|
||
|
that worried the cat
|
||
|
that killed the rat
|
||
|
that ate the malt
|
||
|
that lay in the house that Jack built.
|
||
|
|
||
|
This is the farmer sowing his corn
|
||
|
that kept the rooster that crowed in the morn
|
||
|
that woke the priest all shaven and shorn
|
||
|
that married the man all tattered and torn
|
||
|
that kissed the maiden all forlorn
|
||
|
that milked the cow with the crumpled horn
|
||
|
that tossed the dog
|
||
|
that worried the cat
|
||
|
that killed the rat
|
||
|
that ate the malt
|
||
|
that lay in the house that Jack built.
|
||
|
|
||
|
This is the horse and the hound and the horn
|
||
|
that belonged to the farmer sowing his corn
|
||
|
that kept the rooster that crowed in the morn
|
||
|
that woke the priest all shaven and shorn
|
||
|
that married the man all tattered and torn
|
||
|
that kissed the maiden all forlorn
|
||
|
that milked the cow with the crumpled horn
|
||
|
that tossed the dog
|
||
|
that worried the cat
|
||
|
that killed the rat
|
||
|
that ate the malt
|
||
|
that lay in the house that Jack built.
|
||
|
```
|
||
|
|
||
|
[papyr]: https://papyr.com/hypertextbooks/grammar/ph_noun.htm
|
||
|
|
||
|
## Source
|
||
|
|
||
|
### Created by
|
||
|
|
||
|
- @jiegillet
|
||
|
|
||
|
### Contributed to by
|
||
|
|
||
|
- @angelikatyborska
|
||
|
|
||
|
### Based on
|
||
|
|
||
|
British nursery rhyme - https://en.wikipedia.org/wiki/This_Is_The_House_That_Jack_Built
|