borovan

Results 5 comments of borovan

Dragginz team would much appreciate this! https://gist.github.com/borovan/697dc7c58fccc5bc85f15499e732898b

I know there was a Motoko Formatter v0.0.6 but it doesn't seem to work together with the VS Motoko plugin

here we go ``` // punch switch (update( M.content_Ability, "punch", [("iconId", #text(do { switch (TextMap.get(pks, itemKey("iconId", "xxx"))) { case (?pk) { pk }; case (null) { "ERR" } } }))]))...

thats fine, no rush :) we've got less of a focus on this I just wondered if it was some low hanging thing to fix.

https://forum.dfinity.org/t/reversing-an-array/12724/18?u=borovan Yeah maybe icme has a point. The methods in Iter are probably fine but you just have to use Int.abs() on the result within an array. Just wanted you...