A functional domain model is made of pure functions and immutable types. As Domain Driven Design teaches us, it should be expressed in the language...
For further actions, you may consider blocking this person and/or reporting abuse
Nice explanation :)
How did you draw those diagrams?
Thanks! I have no drawing skills. Anything that comes out of excalidraw.com looks good.
Nice article, well written and citing sources that enriched the content. Thanks for sharing!
Thank you for taking time to comment!
Thank you for the article.
Do you think is useful that the domain defines the services (use cases) contracts?
The implementation would compose pure and impure code like DB queries or emailing effects.
No, I didn't find it useful on my last project. The contract is usually defined on the consumer side.
However, in the past, I'd do that with repository interfaces. I don't have them anymore (they're replaced with function types for queries).
Great definition. I think I'm going to try to bring it into Elixir world.
Thank you. You have no idea how many times I have rephrased it to simplify!