MasonProtter / SumTypes.jl

An implementation of sum types in Julia
MIT License
104 stars 8 forks source link

Allow abstract type for sum type #61

Closed Tortar closed 9 months ago

Tortar commented 9 months ago

Fixes #44

Hi @MasonProtter, I'd like to allow defining abstract types in my interface package (StructSumTypes.jl) to your (very cool) package.

I hope I didn't overlook anything

codecov[bot] commented 9 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (4edded4) 100.00% compared to head (0082573) 100.00%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #61 +/- ## ========================================= Coverage 100.00% 100.00% ========================================= Files 3 3 Lines 261 264 +3 ========================================= + Hits 261 264 +3 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

MasonProtter commented 9 months ago

Very cool, thank you @Tortar. This should also close #44