-
Notifications
You must be signed in to change notification settings - Fork 700
Open
Labels
Description
In the context of the BNS contract, I'm dealing with the following type:
(price-function (tuple
(buckets (list 16 uint))
(base uint)
(coeff uint)
(nonalpha-discount uint)
(no-vowel-discount uint)))
It could be nice, from a developer point of view, to have the ability to define type aliases, aiming at improving readability:
(define-type price-function-type (tuple (buckets (list 16 uint))
(base uint)
(coeff uint)
(nonalpha-discount uint)
(no-vowel-discount uint)))
It could be an edge case not worthing the effort - opening an issue for tracking this idea.
njordhov, luizalbertocviana, bgok, ondratra, hugoclrd and 1 more
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Status: 🆕 New