On Wed, Aug 1, 2012 at 2:35 AM, Richard Cobbe wrote:
> Well, I initially went with String because I didn't want to clutter up my
> code with all of the calls to 'pack', especially around string literals.
> I'm open to being convinced that it's worth it to switch, though.
For string literals, you
On Tue, Jul 31, 2012 at 09:17:34PM +1000, Ivan Lazar Miljenovic wrote:
> On 31 July 2012 21:01, Richard Cobbe wrote:
> > On Mon, Jul 30, 2012 at 11:45:38PM +1000, Ivan Lazar Miljenovic wrote:
> >> Can I ask what you're doing here? Are you printing individual
> >> characters or entire chunks of te
On 31 July 2012 21:01, Richard Cobbe wrote:
> On Mon, Jul 30, 2012 at 11:45:38PM +1000, Ivan Lazar Miljenovic wrote:
>> On 30 July 2012 04:04, Richard Cobbe wrote:
>> > I'm working on an application that involves processing a lot of Unicode
>> > data, and I'm finding the built-in Show implementat
On Mon, Jul 30, 2012 at 11:45:38PM +1000, Ivan Lazar Miljenovic wrote:
> On 30 July 2012 04:04, Richard Cobbe wrote:
> > I'm working on an application that involves processing a lot of Unicode
> > data, and I'm finding the built-in Show implementation for Char to be
> > really inconvenient. Speci
On 30 July 2012 04:04, Richard Cobbe wrote:
> I'm working on an application that involves processing a lot of Unicode
> data, and I'm finding the built-in Show implementation for Char to be
> really inconvenient. Specifically, it renders all characters at U+0080 and
> above with decimal escapes:
On Sun, Jul 29, 2012 at 8:04 PM, Richard Cobbe wrote:
> This is annoying because all of the Unicode charts give the code points in
> hex, and indeed the charts are split into different PDFs at numbers that
> are nice and round in hex but not in decimal. So in order to figure out
> which character
On Sun, Jul 29, 2012 at 7:04 PM, Richard Cobbe wrote:
> I'm working on an application that involves processing a lot of Unicode
> data, and I'm finding the built-in Show implementation for Char to be
> really inconvenient. Specifically, it renders all characters at U+0080 and
> above with decimal
I'm working on an application that involves processing a lot of Unicode
data, and I'm finding the built-in Show implementation for Char to be
really inconvenient. Specifically, it renders all characters at U+0080 and
above with decimal escapes:
Prelude> '\x80'
'\128'
This is annoying bec