Skip to content

Files

Latest commit

Sep 7, 2020
9ba7b29 · Sep 7, 2020

History

History

tx-problem

tx-problem

This has a couple of examples illustrating a problem I ran into. Some datatypes and functions are defined in Lib.hs, but trying to convert them into PLC in Main.hs causes a plugin error when you try to run the program:

tx-problem-exe: Error: Unsupported feature: Kind: * -> TYPE ('GHC.Types.TupleRep '[ 'GHC.Types.LiftedRep])
Context: Compiling kind: *
                         -> TYPE ('GHC.Types.TupleRep '[ 'GHC.Types.LiftedRep])

stack run should reproduce this, although stack.yaml will have to be modified to point to the correct Plutus directory.

I'm not sure whether this is a genuine problem or if I just shouldn't be trying to do it.