Sun Jan 29 13:08:16 PST 2006 Duncan Coutts <duncan@...>
* Change textBufferNew to take a TextTagTable, not just any subclass
in 0.9.10 it took a TextTagTable. This was changed to any instance of
TextTagTableClass. But actually this is not a correct generalisation because
we cannot construct a TextBuffer with a SourceTagTable, only a TextTagTable.
Also it causes a type class ambiguity when one passes Nothing. One would have
to give a type annotation like:
textbuffer <- textBufferNew (Nothing :: Maybe TextTagTable)
So I'm reverting this so it just takes a TextTagTable.
hunk ./gtk/Graphics/UI/Gtk/Multiline/TextBuffer.chs.pp 199
-textBufferNew :: TextTagTableClass tt => [_$_]
- Maybe tt -- ^ @table@ - a tag table, or @Nothing@ to create a new one
+ Maybe TextTagTable -- ^ @table@ - a tag table, or @Nothing@ to create a
+ -- new one
Get latest updates about Open Source Projects, Conferences and News.