pselm / signals

Purescript implementation of Elm 0.16's signals modules
Other
91 stars 2 forks source link

Perhaps divide into multiple libraries #4

Closed rgrempel closed 6 years ago

rgrempel commented 8 years ago

For the moment, I've been essentially converting Elm's core libraries into a single Purescript library (though, of course, with multiple modules). So, if I continued this way, one would eventually install the whole thing at once.

This is, of course, convenient, because it means I can build & test the whole thing together. However, it might be a bit large for a single library -- certainly, the Purescript idiom seems to be much smaller libraries, on the whole. Yet, it would also seem cumbersome to make each module a separate library.

One option might be to divide the whole thing into three or four libraries ... possibly with a base library that depends on all of them, so you can easily install them all if you like. The three or four libraries might look like this:

At least, that's one approximation of how things could be divided up -- it will need a little more thought.

The other question is where to put some of the other things (outside Elm's core) which I'll need to port. For instance, elm-html, and probably some other essential Elm libraries. Perhaps purescript-elm-essentials?

rgrempel commented 8 years ago

I have now seperately published purescript-elm-compat and purescript-int-53

rgrempel commented 6 years ago

I've now done a very substantial re-org ... I'll close this now.