Browse files

Fix Issue #4, #5 - Error while parsing #statebox{}: Unable to find ty…

…pe 'fun'
  • Loading branch information...
1 parent 0023998 commit 8abfa71533ae53de6af115ed2212c3773fd3cf5e @DeadZen DeadZen committed Oct 24, 2013
Showing with 2 additions and 1 deletion.
  1. +2 −1 src/statebox.erl
View
3 src/statebox.erl
@@ -25,7 +25,8 @@
-type timestamp() :: statebox_clock:timestamp().
-type timedelta() :: integer().
-type basic_op() :: {module(), atom(), [term()]} |
- {fun((...) -> statebox()), [term()]}.
+ {fun((term(), term()) -> statebox()) |
+ fun((term(), term(), term()) -> statebox()), [term()]}.
-type op() :: basic_op() | [op()].
-export_type([statebox/0, event/0, timestamp/0, timedelta/0, basic_op/0, op/0]).

0 comments on commit 8abfa71

Please sign in to comment.