Just break it into modules so your similar functions are grouped together 
in files.  Use them just like you already are.  We did a bit of this 
here: 
https://www.dailydrip.com/blog/elm-pair-programming-josh-adams-and-luke-westby-pairing-on-colluder

On Tuesday, August 23, 2016 at 11:29:31 PM UTC-5, Charles-Edouard Cady 
wrote:
>
> While I understand that not breaking things up too often is sound advice 
> in elm, I still think this doesn't answer my question: you're basically 
> saying "you're doing it way too often" but you're not saying "don't do it 
> at all" so I do need to find a scalable way of doing it a bit. The problem 
> I describe is very real: I certainly don't have as much code as you but I 
> do have about 5k lines so I'm not just describing some hypothetical 
> problem. All I'm saying is extensibility would make my life easier and just 
> dumping everything in a single module doesn't quite seem like the best 
> thing to do: I did start out like that but I really do need to reuse parts 
> of my code!

-- 
You received this message because you are subscribed to the Google Groups "Elm 
Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to elm-discuss+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to