Permalink
Browse files

update type message layout

  • Loading branch information...
1 parent c562f3d commit 194ff376a22e78cc81d82b44f1c8bfa1da1c03d4 @Aqua-Ye Aqua-Ye committed Aug 30, 2012
Showing with 4 additions and 3 deletions.
  1. +4 −3 src/model.opa
View
7 src/model.opa
@@ -1,9 +1,10 @@
/**
* The type of messages sent by a client to the chatroom
*/
-type message = { string author /**The name of the author (arbitrary string)*/
- , string text /**Content entered by the user*/
- }
+type message = {
+ string author, /** The name of the author (arbitrary string) */
+ string text /** Content entered by the user */
+}
module Model {

0 comments on commit 194ff37

Please sign in to comment.