Browse Source

now passes paranoia dialyzer checks

pull/2/head
istr 11 years ago
parent
commit
420133ca27
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      src/glc.erl
  2. +1
    -1
      src/gre.erl

+ 1
- 1
src/glc.erl View File

@ -141,7 +141,7 @@ null(Result) ->
%% to use a finalized query to construct a new query will result
%% in a `badarg' error.
-type qry() :: {atom(), '*'|false|true|[any(),...]} | {atom(), '<'|'='|'>', _}.
-type action() :: fun((_) -> any()).
-type action() :: fun((gre:event()) -> any()).
-spec with(Query::qry(), Action::action()) -> {with, Query::qry(), Action::action()}.
with(Query, Action) ->
glc_ops:with(Query, Action).

+ 1
- 1
src/gre.erl View File

@ -25,7 +25,7 @@
]).
-type event() :: {list, [{atom(), term()}]}.
-export_types([event/0]).
-export_type([event/0]).
%% @doc Construct an event term.
-spec make(term(), [list]) -> event().

Loading…
Cancel
Save