Skip to content

Commit e1b3dc7

Browse files
committed
Extend docs on 'letters' function
1 parent 7f588ef commit e1b3dc7

File tree

1 file changed

+5
-1
lines changed
  • lamagraph-compiler/src/Lamagraph/Compiler

1 file changed

+5
-1
lines changed

lamagraph-compiler/src/Lamagraph/Compiler/Utils.hs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ import Relude
44

55
import Data.Sequences qualified
66

7-
-- | This function generates words @a@, ..., @z@, @aa@, ..., @az@ and so on.
7+
{- | This function generates words @a@, ..., @z@, @aa@, ..., @az@ and so on.
8+
9+
Currently used in "Lamagraph.Compiler.Core.MonadDesugar" and "Lamagraph.Compiler.Typechecker.Helper"
10+
to generate fresh variable names.
11+
-}
812
letters :: [Text]
913
letters = [1 ..] >>= flip Data.Sequences.replicateM ['a' .. 'z']

0 commit comments

Comments
 (0)