From 035a7a2f10891f41eefe64b872bbd9951c30a436 Mon Sep 17 00:00:00 2001 From: Rowan Torbitzky-Lane <rowan.a.tl@protonmail.com> Date: Mon, 27 Jan 2025 15:59:20 -0600 Subject: [PATCH] add problem to readme --- README.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/README.md b/README.md index d2a573d..78db742 100644 --- a/README.md +++ b/README.md @@ -6,6 +6,15 @@ the functions in the pyshgp list. https://erp12.github.io/pyshgp/html/core_instructions.html +# Big Problem + +There is no easy way to determine equality of two functions in Haskell. No comparing names, no nothing. +We coult compare applying two functions to an example state, but that would get tedious and costly quickly. + +The only idea floating in my head at the moment is to attach a string to the `StateFunc` Gene to +track what the functions are. This would require a painful redefinition of the tests, but I think would be +worth it in the grand scheme. Would mean we could also track the functions when outputting them after training. + ## Tasks * [ ] Post minimal core of exec to haskell discourse for advice about speed optimization. * [x] Do test-driven development on this one.