From f49d87e6b1afa5e96ab10e5eaa85658d088bcda0 Mon Sep 17 00:00:00 2001 From: Fadi Shawki Date: Sat, 13 Jan 2024 21:16:12 +0100 Subject: [PATCH] 2024/01/13 - First ugly implementation of previous/next of arbitrary functions --- src/@orbitmines/explorer/Ray.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/@orbitmines/explorer/Ray.ts b/src/@orbitmines/explorer/Ray.ts index 39d7b3a..d98ac93 100644 --- a/src/@orbitmines/explorer/Ray.ts +++ b/src/@orbitmines/explorer/Ray.ts @@ -436,7 +436,8 @@ export class Ray // Other possibly names: AbstractDirectionality, ..., ?? [RayType.INITIAL]: (ref) => ref.self.switch({ // TODO REVERSE OF TERMINAL.. - [RayType.TERMINAL]: (ref) => direction(ref).switch({ // TODO: This is applying the function again, should be separate? + // TODO: direction(ref) is probably concidently the same here.. + [RayType.TERMINAL]: (ref) => direction(ref).switch({ // TODO: This is applying the function again, should be separate? // Found a next Vertex. [RayType.VERTEX]: (self) => self, }),