hi, following the example and trying to adapt it to a wit file I have, I can't find how to represent enums, option and result, is it possible?
update: returning null works as none and something as some(t)
update2: just noticed the test folder :man_facepalming:
update 3: to return the E in result(T, E) you have to throw an exception with the exception being the value
Last updated: Nov 22 2024 at 16:03 UTC