Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rm generics in Interval #100

Open
waalge opened this issue Nov 21, 2024 · 0 comments
Open

rm generics in Interval #100

waalge opened this issue Nov 21, 2024 · 0 comments

Comments

@waalge
Copy link

waalge commented Nov 21, 2024

The use of generics is complexity without benefit.

Without aliasing this is especially weird to keep.
Were time aliases introduced (which i think is why PlutusTx use generics : Slot and PosixTime )
There's no additional type safety here, only allows some semantic hints.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant