Talk:Transet
The "Binary numbers" example (Fixed)
The pattern {[<<>>],[(*),<<>>]}
(which is supposed to match character 1
) also matches the representation of character |
. If *
is replaced with <>
, the resulting set is {[<<>>],[(<>),<<>>]}
, which is the same as <<<>>>
, so the program replaces all occurrences of <<<>>>
with {[<>],[({[<<<>>>],[(<>),<<>>]}),<<>>]}
, which also contains <<<>>>
, so the program does not terminate. --Hakerh400 (talk) 04:59, 29 September 2023 (UTC)
Thanks for your contribution, but I am not quite understand of the problem you give.{[<<>>],[(x),<<>>]}
will not matches {[<<<>>>],[(y),<<>>]}
because in this case we won't make x
into <>
. --GUAqwq (talk) 13:30, 29 September 2023 (UTC)
Re:I see the problem now. --GUAqwq (talk) 15:26, 29 September 2023 (UTC)
Personal problem on the interpreter or on haskell (Solved)
(btw I don't know much about haskell and I've met some problem while using your interpreter. If you don't mind, plz help me. I've put the exception on my user page. --GUAqwq (talk) 13:30, 29 September 2023 (UTC))
- GHC version 9.4.6 is required, and the project must be compiled from the project directory, not from the repository directory. Open command line, navigate to the project directory (type
cd transet
) and runghc Main.hs
. It is recommended to use Command Prompt instead of PowerShell. Alternatively, the project can be compiled automatically by double-clickingc.bat
. --Hakerh400 (talk) 18:01, 29 September 2023 (UTC)