{"action":"created","issue":{"url":"https://api.github.com/repos/infolab-csail/WikipediaBase/issues/143","labels_url":"https://api.github.com/repos/infolab-csail/WikipediaBase/issues/143/labels{/name}","comments_url":"https://api.github.com/repos/infolab-csail/WikipediaBase/issues/143/comments","events_url":"https://api.github.com/repos/infolab-csail/WikipediaBase/issues/143/events","html_url":"https://github.com/infolab-csail/WikipediaBase/issues/143","id":126912654,"number":143,"title":"Deprecate typed lists over plists","user":{"login":"alvaromorales","id":2496170,"avatar_url":"https://avatars.githubusercontent.com/u/2496170?v=3","gravatar_id":"","url":"https://api.github.com/users/alvaromorales","html_url":"https://github.com/alvaromorales","followers_url":"https://api.github.com/users/alvaromorales/followers","following_url":"https://api.github.com/users/alvaromorales/following{/other_user}","gists_url":"https://api.github.com/users/alvaromorales/gists{/gist_id}","starred_url":"https://api.github.com/users/alvaromorales/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alvaromorales/subscriptions","organizations_url":"https://api.github.com/users/alvaromorales/orgs","repos_url":"https://api.github.com/users/alvaromorales/repos","events_url":"https://api.github.com/users/alvaromorales/events{/privacy}","received_events_url":"https://api.github.com/users/alvaromorales/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-01-15T16:59:42Z","updated_at":"2016-01-15T17:39:31Z","closed_at":null,"body":"Per #120, I think it's a good idea to push the lispify logic down to the frontend modules, not the knowledge base or resolvers. This gets complicated because we have to return lists with typecodes.\r\n\r\nPython doesn't natively support lists with typecodes. We could wrap the native list with a custom class, but I'd rather look for a simpler solution.\r\n\r\nThe lispify module does a great job at translating dictionaries to plists. What if we deprecate typed lists over plists? In the external API, this would only involve one change.\r\n\r\nInstead of returning:\r\n\r\n```lisp\r\n(get \"wikibase-term\" \"Black Sea\" (:code \"COORDINATES\"))\r\n((:coordinates 44 35))\r\n```\r\n\r\nwe would return:\r\n\r\n```lisp\r\n((:coordinates (44 35)))\r\n```\r\n\r\n@sfelshin would this be okay?"},"comment":{"url":"https://api.github.com/repos/infolab-csail/WikipediaBase/issues/comments/172028132","html_url":"https://github.com/infolab-csail/WikipediaBase/issues/143#issuecomment-172028132","issue_url":"https://api.github.com/repos/infolab-csail/WikipediaBase/issues/143","id":172028132,"user":{"login":"alvaromorales","id":2496170,"avatar_url":"https://avatars.githubusercontent.com/u/2496170?v=3","gravatar_id":"","url":"https://api.github.com/users/alvaromorales","html_url":"https://github.com/alvaromorales","followers_url":"https://api.github.com/users/alvaromorales/followers","following_url":"https://api.github.com/users/alvaromorales/following{/other_user}","gists_url":"https://api.github.com/users/alvaromorales/gists{/gist_id}","starred_url":"https://api.github.com/users/alvaromorales/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alvaromorales/subscriptions","organizations_url":"https://api.github.com/users/alvaromorales/orgs","repos_url":"https://api.github.com/users/alvaromorales/repos","events_url":"https://api.github.com/users/alvaromorales/events{/privacy}","received_events_url":"https://api.github.com/users/alvaromorales/received_events","type":"User","site_admin":false},"created_at":"2016-01-15T17:39:30Z","updated_at":"2016-01-15T17:39:30Z","body":"Great!\r\n\r\nEvery resolver should return a list of dictionaries. The call to lispify should be made in frontend.py."}}