Jpeg.jpeg.zigzag: def of gralha-jpeg-decode@0.1.0.1 Import: import gralha-jpeg-decode@0.1.0.1/jpeg.bend as Jpeg Lines 96-97 of gralha-jpeg-decode@0.1.0.1/jpeg.bend: https://jend.leeeet.dev/read.txt?path=gralha-jpeg-decode@0.1.0.1/jpeg.bend&start_line=96&end_line=97 import Base import gralha-text-scan@0.1.0.1/scan.bend as U def jpeg.zigzag(index: U32) -> U32: U.uints.nth(Con{0, Con{1, Con{8, Con{16, Con{9, Con{2, Con{3, Con{10, Con{17, Con{24, Con{32, Con{25, Con{18, Con{11, Con{4, Con{5, Con{12, Con{19, Con{26, Con{33, Con{40, Con{48, Con{41, Con{34, Con{27, Con{20, Con{13, Con{6, Con{7, Con{14, Con{21, Con{28, Con{35, Con{42, Con{49, Con{56, Con{57, Con{50, Con{43, Con{36, Con{29, Con{22, Con{15, Con{23, Con{30, Con{37, Con{44, Con{51, Con{58, Con{59, Con{52, Con{45, Con{38, Con{31, Con{39, Con{46, Con{53, Con{60, Con{61, Con{54, Con{47, Con{55, Con{62, Con{63, Nil{}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}, U32.to_nat(index), 0) Uses (4): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32 https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32.to_nat https://jend.leeeet.dev/definition.txt?path=gralha-text-scan@0.1.0.1/scan.bend&name=uints.nth