cut
l start endSummary
Return a subcollection of L from START to END
Bytecode
Probably only interesting to you if you want to understand more about the Nujel VM or care very much about performance.
( 0 ($let)) ( 1 ($get/val 'type-of)) ( 3 ($get/val 'l)) ( 5 ($apply 1)) ( 7 ($det/val 'ΓεnΣym-7)) ( 9 ($drop)) ( 10 ($get/val 'ΓεnΣym-7)) ( 12 ($push/val :pair)) ( 14 ($=)) ( 15 ($jf* 16)) ( 18 ($get/val 'list/cut)) ( 20 ($get/val 'l)) ( 22 ($get/val 'start)) ( 24 ($get/val 'end)) ( 26 ($apply 3)) ( 28 ($jmp* 63)) ( 31 ($get/val 'ΓεnΣym-7)) ( 33 ($push/val :array)) ( 35 ($=)) ( 36 ($jf* 16)) ( 39 ($get/val 'array/cut)) ( 41 ($get/val 'l)) ( 43 ($get/val 'start)) ( 45 ($get/val 'end)) ( 47 ($apply 3)) ( 49 ($jmp* 42)) ( 52 ($get/val 'ΓεnΣym-7)) ( 54 ($push/val :string)) ( 56 ($=)) ( 57 ($jf* 16)) ( 60 ($get/val 'string/cut)) ( 62 ($get/val 'l)) ( 64 ($get/val 'start)) ( 66 ($get/val 'end)) ( 68 ($apply 3)) ( 70 ($jmp* 21)) ( 73 ($get/val 'throw)) ( 75 ($get/val 'list)) ( 77 ($push/val :type-error)) ( 79 ($push/val You can only use member with a collection)) ( 81 ($get/val 'l)) ( 83 ($get/val 'current-lambda)) ( 85 ($apply 0)) ( 87 ($apply 4)) ( 89 ($apply 1)) ( 91 ($closure/pop)) ( 92 ($ret))