dfinity / docs

Documentation for writing code for the Internet Computer
https://sdk.dfinity.org
Other
144 stars 111 forks source link

Array.Flatten missing parameter type #363

Closed ililic closed 3 years ago

ililic commented 3 years ago

https://sdk.dfinity.org/docs/base-libraries/array#flatten

I believe the method signature should be func flatten<A>(xs : [[A]]) : [A]

lsgunnlsgunn commented 3 years ago

Added this as an issue to the motoko-base repo: https://github.com/dfinity/motoko-base/issues/239

lsgunnlsgunn commented 3 years ago

Fixed in https://github.com/dfinity/motoko-base/issues/239

lsgunnlsgunn commented 3 years ago

Updated doc deployed on the website