Skip to content

添加Option

Choose a tag to compare

@fexcode fexcode released this 25 Oct 05:18
· 17 commits to master since this release

新增Option,Some,Nothing

 def bar(x):
        return Option.Auto(x)

 print(bar(5).Sm)  # -> Some(5)