on master help sign in
rear
commit0af3020210c15b651f07312c0a1c37ef031cfd5b authoriko <mail@iko.soy> dateThu 22 Aug 2024, 22:39 (2 years ago) parent1f34a7e
1 file changed+3
nock/src/jets.rs+3
nock/src/jets.rs+3
@@ -42,6 +42,7 @@ pub fn generate_jets() -> Jets {
4242 (136665047491594821996133547576675424469, LIEN),
4343 (134383540064775397895881415210519251023, MURN),
4444 (206209714924463645290290379601675245373, REAP),
45+ (266278769253331237088430651317345081031, REAR),
4546 ])
4647}
4748
@@ -331,3 +332,5 @@ static REAP: Jet = |_ctx, n| {
331332
332333 Noun::list_refs(repeat_n(b, a.as_u32().unwrap() as usize))
333334};
335+
336+static REAR: Jet = |_ctx, n| n.list_iter().last().unwrap();