> var {list} = require ('list')
> var show = require ('sanctuary-show')
Current behaviour:
> show (list ('foo', 'bar', 'baz'))
'{"bits": 3, "length": 3, "offset": 0, "prefix": [0], "root": undefined, "suffix": ["foo", "bar", "baz"]}'
Suggested behaviour:
> show (list ('foo', 'bar', 'baz'))
'list ("foo", "bar", "baz")'
This would require defining a @@show method which applies show to each of the list's elements.
Current behaviour:
Suggested behaviour:
This would require defining a
@@showmethod which appliesshowto each of the list's elements.