haskell-boxes / boxes

A pretty-printing library for laying out text in two dimensions, using a simple box model.
Other
37 stars 13 forks source link

Draw a frame around a box. #37

Open kindaro opened 4 years ago

kindaro commented 4 years ago

The title says it all. Nevertheless, an example:

λ printBox $ frame "^_^"
+---+
|^_^|
+---+

Of course, we may use fancier ASCII line art too.

I also propose that there is a similar function for a double frame.

Eventually we could render tables like this.