« Previous | Next » 

Revision 4651c69f

ID4651c69f8da73ee2ee3487f7c729bb4dd807b936
Parent 3a933ed8
Child c93041a5

Added by Jose A. Lopes over 10 years ago

Wrap 'Set' in 'ListSet' for the opcodes

In what Haskell to Python opcodes are concerned, a Haskell 'Set' is
translated into a Python 'list'. In other words, currently, opcodes
that handle sets of parameters are actually handling lists because
this is how sets are currently encoded. This patch introduces a new
type called 'ListSet' that wraps a Haskell 'Set' and it is used to
represent on the Haskell side a Python 'list' without duplicate
elements. This patch also updates the respective opcode parameters
and updates the opcode tests.

Signed-off-by: Jose A. Lopes <>
Reviewed-by: Klaus Aehlig <>

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences