summaryrefslogtreecommitdiffstats
path: root/emacs.d/lisp/yasnippet/snippets/scala-mode/actor
diff options
context:
space:
mode:
Diffstat (limited to 'emacs.d/lisp/yasnippet/snippets/scala-mode/actor')
-rw-r--r--emacs.d/lisp/yasnippet/snippets/scala-mode/actor10
1 files changed, 10 insertions, 0 deletions
diff --git a/emacs.d/lisp/yasnippet/snippets/scala-mode/actor b/emacs.d/lisp/yasnippet/snippets/scala-mode/actor
new file mode 100644
index 0000000..d38a183
--- /dev/null
+++ b/emacs.d/lisp/yasnippet/snippets/scala-mode/actor
@@ -0,0 +1,10 @@
+#Author : Jonas Bonèr <jonas@jonasboner.com>
+#name : val a = actor { ..}
+# --
+val a = actor {
+ loop {
+ react {
+ $0
+ }
+ }
+} \ No newline at end of file