« Previous | Next » 

Revision 6c1a9fae

Parent b711450c
Child 0d78accc

Added by Petr Pudlak about 7 years ago

Add showValueList to PyValue for proper String instances

It's the same trick ShowS uses. We add a type class function for
showing a list to PyValue and then just use it in the instance for
`[a]`. This way we have the proper String instance without any
overlapping/incoherent instances.

Signed-off-by: Petr Pudlak <>
Reviewed-by: Jose A. Lopes <>


  • added
  • modified
  • copied
  • renamed
  • deleted

View differences