Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Adds racket program by gf3

  • Loading branch information...
commit abe421f6893d40c44c06b52e7b8654994ddf7133 1 parent ebba8ad
@rwaldron rwaldron authored
View
12 racket/readme.md
@@ -1,5 +1,15 @@
```
-racket subject-is-dead.rkt
+racket subject-is-dead-rwaldron.rkt
+```
+
+http://gyazo.com/d1bb3fed949fcaab3acd4f3f595e3b56.png
+
+
+--------
+
+
+```
+racket subject-is-dead-gf3.rkt
```
http://gyazo.com/d1bb3fed949fcaab3acd4f3f595e3b56.png
View
7 racket/subject-is-dead-gf3.rkt
@@ -0,0 +1,7 @@
+#lang racket
+(define subject "[Subject] is dead, long live [Subject]")
+(define (replace-subject msg)
+ (write msg)
+ (replace-subject
+ (regexp-replace* #px"\\[Subject\\]" msg subject)))
+(replace-subject subject)
View
0  racket/subject-is-dead.rkt → racket/subject-is-dead-rwaldron.rkt
File renamed without changes
Please sign in to comment.
Something went wrong with that request. Please try again.