Open fisx opened 1 month ago
I have a couple of questions:
tree
every time we're modifying the subsystem? how are we verifying that? Eff
? I think it's misleading, many effect systems call their monad Eff
.Mem
? Wouldn't InMemory
convey the semantics better? I somehow like the idea of a flatter directory structure so I think that UserSubystem
is nicer that Subsystem.User
but also it feels like it doesn't adhere to the conventions; perhaps we could even do WireSubsystem
if we don't adhere to them anyways?
Could you please write about the motivation for this work, nothing in JIRA or README or the PR description seem to have it captured, so its hard to even engage with this PR. Still here are somethings that could make it better:
tree
output we could put slightly more effort into just listing the module namespaces which matter most and write about them, the tree
output is just noisy for most part.Subsystem.User
instead of UserSubsystem
makes a lot of files in the code being called User.hs
and (fuzzily) searching for them is a pain (also most editors just show file names when there are multiple buffers or tabs are open), so I also prefer UserSubsystem
from dev-ex perspective. All said, it would be best to first define our reasons for this then spend more time into it if we feel its justified.
- are we going to update the output of
tree
every time we're modifying the subsystem? how are we verifying that?
no, we'll either keep it as an incomplete sample, marking it as such, or remove it entirely. it's not that hard to look for yourself after all. i just put it there for now so people can see what i mean.
- why is it called
Eff
? I think it's misleading, many effect systems call their monadEff
.
no strong opinion / open to suggestions. the reason was that Eff interpreters only implement one polysemy effects in terms of others, so it's not cassandra, but a polysemy Eff
ect underneath.
what about Polysemy
?
- why is it called
Mem
? Wouldn'tInMemory
convey the semantics better?
sure, InMemory
is at least as good. i'll take it, thanks! :)
https://wearezeta.atlassian.net/browse/WPB-9597
(inspired by https://wearezeta.atlassian.net/browse/WPB-8880)
Checklist
changelog.d