: [byte>rep-array] ( rep -- class )
{
- { char-16-rep [ [ 16 <direct-char-array> ] ] }
- { uchar-16-rep [ [ 16 <direct-uchar-array> ] ] }
- { short-8-rep [ [ 8 <direct-short-array> ] ] }
- { ushort-8-rep [ [ 8 <direct-ushort-array> ] ] }
- { int-4-rep [ [ 4 <direct-int-array> ] ] }
- { uint-4-rep [ [ 4 <direct-uint-array> ] ] }
- { longlong-2-rep [ [ 2 <direct-longlong-array> ] ] }
- { ulonglong-2-rep [ [ 2 <direct-ulonglong-array> ] ] }
- { float-4-rep [ [ 4 <direct-float-array> ] ] }
- { double-2-rep [ [ 2 <direct-double-array> ] ] }
+ { char-16-rep [ [ 16 c:char <c-direct-array> ] ] }
+ { uchar-16-rep [ [ 16 c:uchar <c-direct-array> ] ] }
+ { short-8-rep [ [ 8 c:short <c-direct-array> ] ] }
+ { ushort-8-rep [ [ 8 c:ushort <c-direct-array> ] ] }
+ { int-4-rep [ [ 4 c:int <c-direct-array> ] ] }
+ { uint-4-rep [ [ 4 c:uint <c-direct-array> ] ] }
+ { longlong-2-rep [ [ 2 c:longlong <c-direct-array> ] ] }
+ { ulonglong-2-rep [ [ 2 c:ulonglong <c-direct-array> ] ] }
+ { float-4-rep [ [ 4 c:float <c-direct-array> ] ] }
+ { double-2-rep [ [ 2 c:double <c-direct-array> ] ] }
} case ; foldable
: [>rep-array] ( rep -- class )
{
- { char-16-rep [ [ >char-array ] ] }
- { uchar-16-rep [ [ >uchar-array ] ] }
- { short-8-rep [ [ >short-array ] ] }
- { ushort-8-rep [ [ >ushort-array ] ] }
- { int-4-rep [ [ >int-array ] ] }
- { uint-4-rep [ [ >uint-array ] ] }
- { longlong-2-rep [ [ >longlong-array ] ] }
- { ulonglong-2-rep [ [ >ulonglong-array ] ] }
- { float-4-rep [ [ >float-array ] ] }
- { double-2-rep [ [ >double-array ] ] }
+ { char-16-rep [ [ c:char >c-array ] ] }
+ { uchar-16-rep [ [ c:uchar >c-array ] ] }
+ { short-8-rep [ [ c:short >c-array ] ] }
+ { ushort-8-rep [ [ c:ushort >c-array ] ] }
+ { int-4-rep [ [ c:int >c-array ] ] }
+ { uint-4-rep [ [ c:uint >c-array ] ] }
+ { longlong-2-rep [ [ c:longlong >c-array ] ] }
+ { ulonglong-2-rep [ [ c:ulonglong >c-array ] ] }
+ { float-4-rep [ [ c:float >c-array ] ] }
+ { double-2-rep [ [ c:double >c-array ] ] }
} case ; foldable
: [<rep-array>] ( rep -- class )
{
- { char-16-rep [ [ 16 (char-array) ] ] }
- { uchar-16-rep [ [ 16 (uchar-array) ] ] }
- { short-8-rep [ [ 8 (short-array) ] ] }
- { ushort-8-rep [ [ 8 (ushort-array) ] ] }
- { int-4-rep [ [ 4 (int-array) ] ] }
- { uint-4-rep [ [ 4 (uint-array) ] ] }
- { longlong-2-rep [ [ 2 (longlong-array) ] ] }
- { ulonglong-2-rep [ [ 2 (ulonglong-array) ] ] }
- { float-4-rep [ [ 4 (float-array) ] ] }
- { double-2-rep [ [ 2 (double-array) ] ] }
+ { char-16-rep [ [ 16 c:char (c-array) ] ] }
+ { uchar-16-rep [ [ 16 c:uchar (c-array) ] ] }
+ { short-8-rep [ [ 8 c:short (c-array) ] ] }
+ { ushort-8-rep [ [ 8 c:ushort (c-array) ] ] }
+ { int-4-rep [ [ 4 c:int (c-array) ] ] }
+ { uint-4-rep [ [ 4 c:uint (c-array) ] ] }
+ { longlong-2-rep [ [ 2 c:longlong (c-array) ] ] }
+ { ulonglong-2-rep [ [ 2 c:ulonglong (c-array) ] ] }
+ { float-4-rep [ [ 4 c:float (c-array) ] ] }
+ { double-2-rep [ [ 2 c:double (c-array) ] ] }
} case ; foldable
: rep-tf-values ( rep -- t f )