moonbitlang / core

MoonBit's Core library
https://moonbitlang.com/
Apache License 2.0
483 stars 54 forks source link

figure out the design of from_fixed_array vs from_array and literal syntax support #455

Open bobzhang opened 1 month ago

bobzhang commented 1 month ago
  1. for M::[1,2,3] -> desugar to -> M::of_array_literal?

Why we don't give it the name M::from_array? M::from_array is useful on its own