~ubuntu-branches/debian/squeeze/erlang/squeeze

« back to all changes in this revision

Viewing changes to lib/ic/src/icunion.erl

  • Committer: Bazaar Package Importer
  • Author(s): Sergei Golovan
  • Date: 2009-08-05 20:54:29 UTC
  • mfrom: (6.1.2 sid)
  • Revision ID: james.westby@ubuntu.com-20090805205429-pm4pnwew8axraosl
Tags: 1:13.b.1-dfsg-5
* Fixed parentheses in Emacs mode (closes: #536891).
* Removed unnecessary conflicts with erlang-manpages package.
* Added workaround for #475459: disabled threads on sparc architecture.
  This breaks wxErlang, so it's only a temporary solution.

Show diffs side-by-side

added added

removed removed

Lines of Context:
36
36
%%-----------------------------------------------------------------
37
37
-export([]).
38
38
 
39
 
union_gen(G, N, X, c) when record(X, union) ->
 
39
union_gen(G, N, X, c) when is_record(X, union) ->
40
40
    emit_c_union(G, N, X);
41
41
union_gen(_G, _N, _X, _L) ->
42
42
    ok.
392
392
            error
393
393
    end.
394
394
 
395
 
isList(L) when list(L) ->
 
395
isList(L) when is_list(L) ->
396
396
    true;
397
397
isList(_) ->
398
398
    false.