stdlib icon indicating copy to clipboard operation
stdlib copied to clipboard

Return index of undecodable element in dynamic.list DecodeError path

Open johtso opened this issue 1 year ago • 1 comments
trafficstars

https://github.com/gleam-lang/stdlib/blob/d8f046a674197b41e409fec0522a5f6d2d4c7a6d/src/gleam/dynamic.gleam#L320-L329

I think it would be nice to return the index of the offending element instead of just "*"

I'm new to gleam, but I had a little play around trying to implement this and could open a pull request..

johtso avatar Jun 09 '24 21:06 johtso