[commit: pretty] master: Add TODO file (d8ab978)
Ian Lynagh
igloo at earth.li
Sat Aug 27 17:43:39 CEST 2011
Repository : ssh://darcs.haskell.org//srv/darcs/packages/pretty
On branch : master
http://hackage.haskell.org/trac/ghc/changeset/d8ab978c662cbc673692599ab4258d6a4eb57aa0
>---------------------------------------------------------------
commit d8ab978c662cbc673692599ab4258d6a4eb57aa0
Author: David Terei <davidterei at gmail.com>
Date: Thu Aug 25 13:45:25 2011 -0700
Add TODO file
>---------------------------------------------------------------
TODO | 20 ++++++++++++++++++++
1 files changed, 20 insertions(+), 0 deletions(-)
diff --git a/TODO b/TODO
new file mode 100644
index 0000000..60e7a2b
--- /dev/null
+++ b/TODO
@@ -0,0 +1,20 @@
+I want to eliminate the duplicate of this library in
+GHC. The underlying TextDetails store types are different
+though which is a problem:
+
+ -> Use type classes (see new-pretty branch).
+ [Duncan not a fan.]
+ [Make sure performance not lost.]
+
+ -> Use a better underlying storage type.
+ [Say add bytestring and text to TextDetails.]
+
+ -> Use a fixed underlying storage type like
+ Builder from Text or Bytestring but allow
+ input functions to take any type that can be
+ converted into one.
+ [ptext :: (a -> Builder) -> a -> Doc
+
+Also would be useful to provide render functions to produce
+Bytestring / Text builders.
+
More information about the Cvs-libraries
mailing list