Skip to content

Commit 1adc23e

Browse files
authored
Added a Emacs Lisp track-spepcific instruction to "Phone Number" (exercism#465) (exercism#467)
* Added a Emacs Lisp track-spepcific instruction to "Phone Number". * Phone Number: Changed wording of the additional instruction (exercism#467) The following changes have been made, per BNAndras' suggestions. - Each sentence is now on a separate line. - The phrase "user-entered phone number(s)" has been replaced with "phone numbers". - The word "input" has been repaced with "parameter".
1 parent a054b41 commit 1adc23e

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# Instructions Append
2+
3+
In addition to the function, _numbers_, that cleans up phone numbers, you need to write two more functions, _area-code_ and _pprint_ in the Emacs Lisp track.
4+
5+
Each of the extra functions takes the phone number as its only parameter.
6+
7+
The first function _area-code_ extracts the area code from the input, while the second function _pprint_ transforms the input to a string in the format of
8+
```
9+
(NXX) NXX-XXXX
10+
```
11+
where `N` and `X` are as described above.

0 commit comments

Comments
 (0)