dfinity / motoko-base

The Motoko base library
Apache License 2.0
483 stars 99 forks source link

feat: add Result.toUpper/Result.fromUpper to facilitate interop with common IC canisters using upppercased result variants. #626

Closed ByronBecker closed 7 months ago

ByronBecker commented 8 months ago

Low hanging solution for https://dx.internetcomputer.org/topic/166

I found myself using this a fair amount when integrating with the new Cycles Ledger, and see it in a fair number of places that integrate with protocol canisters that were built in Rust.