Skip to content

Commit 1c0287d

Browse files
Language.Nix.Identifier: there is no Text class
1 parent d3bfb90 commit 1c0287d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

language-nix/src/Language/Nix/Identifier.hs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ import Text.PrettyPrint.HughesPJClass as PP
2525
--
2626
-- Reasonable people restrict themselves to identifiers of the form
2727
-- @[a-zA-Z_][a-zA-Z0-9_'-]*@, because these don't need quoting. The
28-
-- methods of the 'Text' class can be used to parse and pretty-print an
29-
-- identifier with proper quoting:
28+
-- methods of the 'Pretty' class can be used to print an identifier with proper
29+
-- quoting:
3030
--
3131
-- >>> pPrint (ident # "test")
3232
-- test

0 commit comments

Comments
 (0)