Explorar el Código

now passes paranoia dialyzer checks

pull/2/head
istr hace 12 años
padre
commit
420133ca27
Se han modificado 2 ficheros con 2 adiciones y 2 borrados
  1. +1
    -1
      src/glc.erl
  2. +1
    -1
      src/gre.erl

+ 1
- 1
src/glc.erl Ver fichero

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

+ 1
- 1
src/gre.erl Ver fichero

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

Cargando…
Cancelar
Guardar