philiparvidsson/LSTM-Text-Generation

changes for newest HyLang version

mark-watson opened this issue · 1 comments

for the latest version of HyLang, I had to change lines 23 and 24 to:

      self.char-to-index    (dict (lfor i (enumerate chars) (, (last i) (first i))))
      self.index-to-char    (dict (lfor i (enumerate chars) i)))

It is not worth a pull request for two lines, but you might want to make these changes.

thank you for this! I'll make the change