Permalink
Browse files

Better DSL syntax

  • Loading branch information...
1 parent 6613810 commit adf6a9af20235f0e1904bda7682e5b0d556dd237 Edwin Brady committed Jul 5, 2011
Showing with 6 additions and 1 deletion.
  1. +6 −1 linlang.idr
View
@@ -116,7 +116,12 @@ dsl (V, Lam) {
}
}
-syntax rio x = dsl(Bind, I, V, Lam) x;
+dsl rio {
+ bind = Bind
+ return = I
+ variable = V
+ lambda = Lam
+}
prog2 : RIO ();
prog2 = rio do

0 comments on commit adf6a9a

Please sign in to comment.