Labelled.translate hangs
zenhack opened this issue · 1 comments
zenhack commented
...on even trivial inputs (afaik anything but []
):
$ cabal repl --build-depends=evm-opcodes
ghci> import EVM.Opcodes
ghci> import qualified EVM.Opcodes.Labelled as L
ghci> :set -XOverloadedStrings
ghci> L.translate [ADD]
Right [
On my machine the above results in ghci eventually being SIGKILLed due to an out of memory error. The problem was not obvious to me from looking at the source code.