<commit_before>discard """
output: '''
dynamic: let
dynamic: var
static: const
static: literal
static: constant folding
'''
"""

proc foo(s: string) =
  echo "dynamic: ", s

proc foo(s: static[string]) =
  echo "static: ", s

let l = "let"
let v = "var"
const c = "const"

foo(l)
foo(v)
foo(c)
foo("literal")
foo("constant" & " " & "folding")
<commit_msg>close #3152; closed via f663ca7<commit_after>discard """
output: '''
dynamic: let
dynamic: var
static: const
static: literal
static: constant folding
static: static string
'''
"""

proc foo(s: string) =
  echo "dynamic: ", s

proc foo(s: static[string]) =
  echo "static: ", s

let l = "let"
let v = "var"
const c = "const"

type staticString = static[string]

foo(l)
foo(v)
foo(c)
foo("literal")
foo("constant" & " " & "folding")
foo(staticString("static string"))

{'fraction_non_alphanumeric': 0.18026796589524968, 'fraction_numerical': 0.0097442143727162, 'mean_word_length': 4.829787234042553, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4133121', 'n_tokens_mistral': 311, 'n_tokens_neox': 304, 'n_words': 92}