|
|
|
|
|
by dhucerbin
1221 days ago
|
|
> but it also seems to be a natural consequence of "up-typing" an entire eco system. Reimplementation of i18n API in Elm would make sense only if benefits from types could outweigh robustness of browser implementation. Due to not very expressive Elm type system I really doubt that. You can’t capture intricacies of i18n in Elm type system. I have more confidence in already tested and used by millions API in the browser than in reimplementation in niche language. Elegant solution would be if I could write well typed layer that calls browser API. Low bar of entry would drive adoption and in effect real world test. But that’s not possible anymore. |
|
Not if your goal is correctness.
Again, it is completely OK that Elm is not your choice if it does not align with your values, which appears to be the case.