Want to avoid primitive obsession/boolean blindness in #elmlang? So do I!https://robots.thoughtbot.com/lessons-learned-avoiding-primitives-in-elm …
e.g. quantity doesn't seem like it benefits from a type if it were passed as quantity: 1
-
-
ah, I see your point now. Agreed that for quantities, monomorphic containers are a bit overkill, since only logical ops are + and -
-
Random gist to expand on my point WRT partial application if you're interested https://gist.github.com/sgrif/3f82998a19547ee337fb6633a077bc3b …
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.