Skip to content

添加模式匹配

Choose a tag to compare

@fexcode fexcode released this 18 Oct 12:16
· 21 commits to master since this release

添加模式匹配

match foo(-1):
        case Success(value):
            print("Success|", value)
        case Failure(error):
            print("Failure|", error)