haskell-nix / hnix

A Haskell re-implementation of the Nix expression language
https://hackage.haskell.org/package/hnix
BSD 3-Clause "New" or "Revised" License
756 stars 115 forks source link

String: improve function names #1039

Open Anton-Latukha opened 2 years ago

soulomoon commented 2 years ago

looking good to me, such rename make functionality more clear in such big project.

Anton-Latukha commented 2 years ago

After the statement (in 0.18), that I moved all getterts to get* suffix, - I still find getters that do not follow that style.

In the codebase there is a difficulty between that there are several String* & several Context* which are used close or in conjunction in the code and function names/getters did not entail the difference and it is hard to transmit the difference.

This PR currently is just a code save.