Closed soulomoon closed 2 years ago
Then I have done a refactoring of escape :: Char -> [Char]
because I saw the comment.
Since we need to identify two Char pattern, the work around making the code ugly.
There is a way to refactor the code into nicer version by doing explicit recursion using bidirectional pattern synonym.
The idea is coming from here
Checking the code locally for now (upstream shenanigans are currently not allowed to make GHC 9.0 CI usable).
Reviewed the code.
Works locally.
Thank you for this
Fix for #1000 Following the fix in NixOS/nix 4012
What is done:
$
sign in double quoted string if not following by{
when printing.${
to\${
in double quoted string when printing.show
inprintNix
, and unify some double string escape behavior forprettyString
andprintNix
What is not working: