ryukzak / nitta

BSD 3-Clause "New" or "Revised" License
21 stars 6 forks source link

lua2functions parameter type changed from Text to ToString #191

Closed ArturGogiyan closed 2 years ago

ryukzak commented 2 years ago

Owww, we have a classical misunderstanding. I speak about other Text...

Early:

lua2functions :: Val t => Text -> FrontendResult Text t

where first Text -- is a type which dependents from lua-language, second -- our internal representation of variable IDs. I mean the second one:

lua2functions :: (Val t, Var v) => Text -> FrontendResult v t

Sorry.