Changes between Version 16 and Version 17 of SplitBase


Ignore:
Timestamp:
Feb 26, 2013 8:45:48 AM (3 years ago)
Author:
nomeata
Comment:

Add johans goals

Legend:

Unmodified
Added
Removed
Modified
  • SplitBase

    v16 v17  
    2020
    2121A Haskell-to-Javascript compiler will not support File IO, or maybe not even IO at all. It would be desirable such an implementation has a chance to at least provide a complete and API compatible base-pure package, and that one can hence reasonably assume that packages and libraries depending only on `base-pure` will indeed work without modification. This might be subsumed by fulfilling the previous goal.
     22
     23==== More appropriate string types in IO ====
     24
     25Johan would like to have text Handles use the Text type and binary Handles use the ByteString type. Right now we have this somewhat awkward setup where the I/O APIs are spread out and bundled with pure types. Splitting base would let us fix this and write a better I/O layer.
     26
     27===== Avoid code copies ====
     28
     29Johan says: The I/O manager currently has a copy of IntMap inside its implementation because base cannot use containers. Splitting base would let us get rid of this code duplication. 
    2230
    2331==== Split base into as FEW packages as possible, consistent with meeting the other goals ====