erewok/servant-py

`toPyDict` doesn't separate multiple arguments

erewok opened this issue · 0 comments

It'll build a dict like this:

test :: [Text] -> Text
test = ["one", "two", "three"]
let result = toPyDict test
result
\"{\"one\":one\"two\":two\"three\":three\"}

We forgot to build a complete structure out of it. Probably pass an offset parameter to fix this so it nicely indents members of the resulting dict.