The problem I'm trying to solve here is that we have lots of dtypes, and possibly want to add more and allow user-defined ones. This can mean that it's hard to show them all together without confusing the user. In the manual we already distinguish between the 'main' dtypes and the more esoteric ones.
Perhaps attaching a level to dtypes can be helpful:
Level 1: The fundamental ones. u, i, f, b, o, h, bytes.
Level 2: The variants. uintne, floatbe, intle etc. Maybe later the reverse ones uint_r etc.
Level 3: The esoteric. se, bfloat, e3m2mxfp, p3binary8 etc.
Future user defined ones can choose their own level? Or be level 4?
The problem I'm trying to solve here is that we have lots of dtypes, and possibly want to add more and allow user-defined ones. This can mean that it's hard to show them all together without confusing the user. In the manual we already distinguish between the 'main' dtypes and the more esoteric ones.
Perhaps attaching a level to dtypes can be helpful:
Level 1: The fundamental ones.
u
,i
,f
,b
,o
,h
,bytes
. Level 2: The variants.uintne
,floatbe
,intle
etc. Maybe later the reverse onesuint_r
etc. Level 3: The esoteric.se
,bfloat
,e3m2mxfp
,p3binary8
etc.Future user defined ones can choose their own level? Or be level 4?
I'm not sure if 'level' is a good name for this.