diff options
author | elioat <{ID}+{username}@users.noreply.github.com> | 2024-07-31 14:06:24 -0400 |
---|---|---|
committer | elioat <{ID}+{username}@users.noreply.github.com> | 2024-07-31 14:06:24 -0400 |
commit | f67aecd5015ffd45701981bf5c2c95836f47efe7 (patch) | |
tree | f2b9736ea6c6580c34257d53504a4fe117fb2ce6 /rkt | |
parent | b6e8a9bfd57ad64453518c76357f4006ba6e13c3 (diff) | |
download | tour-f67aecd5015ffd45701981bf5c2c95836f47efe7.tar.gz |
*
Diffstat (limited to 'rkt')
-rw-r--r-- | rkt/double.rkt | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/rkt/double.rkt b/rkt/double.rkt new file mode 100644 index 0000000..3ef0755 --- /dev/null +++ b/rkt/double.rkt @@ -0,0 +1,9 @@ +#lang racket + +(define (double v) + ((if (string? v) string-append +) v v)) + +(string-append "ba" + (double "na")) + +(double 21) \ No newline at end of file |