Array.Flatten missing parameter type
ililic opened this issue · 3 comments
ililic commented
https://sdk.dfinity.org/docs/base-libraries/array#flatten
I believe the method signature should be
func flatten<A>(xs : [[A]]) : [A]
lsgunnlsgunn commented
Added this as an issue to the motoko-base repo:
dfinity/motoko-base#239
lsgunnlsgunn commented
Fixed in dfinity/motoko-base#239
lsgunnlsgunn commented
Updated doc deployed on the website