maybe_haskell icon indicating copy to clipboard operation
maybe_haskell copied to clipboard

Code samples look bad on narrow widths

Open pbrisbin opened this issue 10 years ago • 0 comments

The narrow width on a physical kindle causes the code examples to wrap. This isn't a huge deal usually, but in the cases where I do something like this:

data Person a = PersonWithThing String a | PersonWithoutThing String
--          |                          |
--          |                          ` we can use it as an argument here
--          |
--          ` By adding a "type variable" here

And it shows up like this

data Person a = PersonWithThing
String a | PersonWithoutThing String
--          |                          |
--          |                          ` we can 
use it as an argument here
--          |
--          ` By adding a "type varia
ble" here

That's no bueno.

pbrisbin avatar Oct 08 '15 18:10 pbrisbin