Skip to content

Commit

Permalink
Merge pull request #6 from DeadZen/dz-fix-dialyzer-fun-type
Browse files Browse the repository at this point in the history
Fix Issue #4, #5 - Error while parsing #statebox{}: Unable to find type ...
  • Loading branch information
etrepum committed Oct 24, 2013
2 parents 0023998 + 8abfa71 commit 04b1fce
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/statebox.erl
Original file line number Diff line number Diff line change
Expand Up @@ -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]).

Expand Down

0 comments on commit 04b1fce

Please sign in to comment.