浏览代码

now passes paranoia dialyzer checks

pull/2/head
istr 11 年前
父节点
当前提交
420133ca27
共有 2 个文件被更改,包括 2 次插入2 次删除
  1. +1
    -1
      src/glc.erl
  2. +1
    -1
      src/gre.erl

+ 1
- 1
src/glc.erl 查看文件

@ -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 查看文件

@ -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().

正在加载...
取消
保存