mirror of
https://github.com/unisonweb/unison.git
synced 2024-09-11 10:35:57 +03:00
With `OverloadedStrings` enabled globally and an `IsString` instance, the `newtype` was rendered useless. This extracts the `NameSegment` constructor/eliminator to a `.Internal` module, has `Unison.NameSegment` only re-export the type, and moves the `*Segment` members to `Unison.Syntax.NameSegment`. This forces cascading changes, including eliminating a bunch of magic literals scattered throughout the code. |
||
---|---|---|
.. | ||
Unison/Test | ||
Main.hs |