Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

lists:concat() -> lists:append()

  • Loading branch information...
commit e3676f4a6b0ec8d504034d53c1546a6fbf78fe4e 1 parent 216531d
Ulf Wiger uwiger authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/exprecs.erl
4 src/exprecs.erl
View
@@ -611,7 +611,7 @@ generate_accessors(L, Acc) ->
f_get(Acc, L),
f_set(Acc, L),
f_fromlist(Acc, L) |
- lists:concat(
+ lists:append(
lists:map(
fun(Rname) ->
Fields = get_flds(Rname, Acc),
@@ -1029,7 +1029,7 @@ f_isrec_1(Acc, L) ->
f_get(#pass1{record_types = RTypes, exports = Es} = Acc, L) ->
Fname = list_to_atom(fname_prefix(get, Acc)),
[funspec(L, Fname,
- lists:concat(
+ lists:append(
[[{[t_atom(L, A), t_record(L, R)], T}
|| {A, T} <- Types]
|| {R, Types} <- RTypes, lists:member(R, Es)])
Please sign in to comment.
Something went wrong with that request. Please try again.