What is the actual, if any, difference between these two functions?
One I defined for IReader, and the other's already in Yi.Buffer.Misc:

-- | Return the contents of the buffer as a list
elemsB ∷  BufferM String
elemsB = nelemsB maxBound 0

-- | Read  the entire buffer as a String
getBufferContents ∷  BufferM String
getBufferContents = readRegionB =<< regionOfB Document

-- 
gwern

--~--~---------~--~----~------------~-------~--~----~
Yi development mailing list
yi-devel@googlegroups.com
http://groups.google.com/group/yi-devel
-~----------~----~----~----~------~----~------~--~---

Reply via email to