We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Change PParams to use dependent types in the spirit of the Shelley spec. For this, we replace the record by:
data PParamName : Type maxBlockSize : PParamName typeOfPParam : PParamName -> Type PParams : Type PParams = (ppn : PParamName) -> typeOfPParam ppn PParamsUpdate : Type PParamsUpdate = (ppn : PParamName) -> Maybe (typeOfPParam ppn) PParamGroup : PParamName -> PParamGroup
This solves some awkwardness, for example, in that the current specification doesn't formally link parameter groups to parameters.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Change PParams to use dependent types in the spirit of the Shelley spec. For this, we replace the record by:
This solves some awkwardness, for example, in that the current specification doesn't formally link parameter groups to parameters.
The text was updated successfully, but these errors were encountered: