Created
September 18, 2011 19:05
-
-
Save hlship/1225415 to your computer and use it in GitHub Desktop.
Cascade defrecord example
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(defrecord Comment [text] | |
NodeStreaming | |
(stream [node strategy out] | |
(write out "<!--" text "-->"))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment