aboutsummaryrefslogtreecommitdiff
path: root/option/option.go
diff options
context:
space:
mode:
authorStefan Majewsky <majewsky@gmx.net>2025-04-02 18:09:46 +0200
committerStefan Majewsky <majewsky@gmx.net>2025-04-02 18:09:46 +0200
commiteab38629013e34b4490be4d665142a1357c97156 (patch)
tree57fab149aa16d438032cae5fa7a89c0b201b92ae /option/option.go
parent23862346411fb921e1a45f25011c3db601f8591d (diff)
downloadgo-gg-refinement-types-2.tar.gz
demonstration of refinement types without self-referential typesrefinement-types-2
The big "yuck" about this can be seen in the LiteralValue invocations in the test code. Calling NewValue or LiteralValue is extremely convoluted and would likely need to be wrapped through additional boilerplate at the concrete type declaration site.
Diffstat (limited to 'option/option.go')
0 files changed, 0 insertions, 0 deletions