Re: Files and Modules

Brandon Allbery <[email protected]>
Newsgroups gmane.comp.lang.haskell.cafe
Message-ID <CAKFCL4VmcO6DKTeZ_hCOWDL5P3BhcGa6_k1v7Q3LKA4nCRqoMQ@mail.gmail.com>
On Mon, Dec 2, 2024 at 9:22 AM julian getcontented.com.au <
[email protected]> wrote:

> But to go back to what you were saying, if we had the ability to decouple
> modules from files it would mean I could set up a notion of dependency
> between the modules that I have stored in Texts in such a way that I
> wouldn’t need to repeat code between the Texts when I want to share code as
> I’m compiling chunks of it. At the moment I try hard to keep the set of
> common items shared between all the code I have because it makes it simpler
> to manage and keeps duplication low, and it also means the call to stack
> that I have only has to include a small set of packages and can be common
> between all the combined sets of code I have.
>

I wonder if an alternative would be a rope type with shareable strands.

-- 
brandon s allbery kf8nh
[email protected]

_______________________________________________
Haskell-Cafe mailing list
To (un)subscribe, modify options or view archives go to:
http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe
Only members subscribed via the mailman list are allowed to post.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.