diff options
author | Louis Pilfold <louis@lpil.uk> | 2019-10-21 19:10:08 +0100 |
---|---|---|
committer | Louis Pilfold <louis@lpil.uk> | 2019-10-25 15:13:33 +0100 |
commit | 74519318c70297b4e90b83011d353e40577f4e90 (patch) | |
tree | c6408c61d027f5b99b3f17266257332481885930 /gen/src/gleam@any.erl | |
parent | 1fd3d745cf6baa4cbaf3469f963f17fa6f5420cd (diff) | |
download | gleam_stdlib-74519318c70297b4e90b83011d353e40577f4e90.tar.gz gleam_stdlib-74519318c70297b4e90b83011d353e40577f4e90.zip |
stdlib labelled parameters
Diffstat (limited to 'gen/src/gleam@any.erl')
-rw-r--r-- | gen/src/gleam@any.erl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gen/src/gleam@any.erl b/gen/src/gleam@any.erl index b55ce9f..9f2a8e6 100644 --- a/gen/src/gleam@any.erl +++ b/gen/src/gleam@any.erl @@ -30,10 +30,10 @@ thunk(A) -> list_any(A) -> gleam_stdlib:decode_list(A). -list(Any, Decode) -> +list(Any, DecoderType) -> gleam@result:then( list_any(Any), - fun(Capture1) -> gleam@list:traverse(Capture1, Decode) end + fun(Capture1) -> gleam@list:traverse(Capture1, DecoderType) end ). pair(A) -> |