{"action":"created","issue":{"url":"https://api.github.com/repos/kadena-io/pact/issues/273","repository_url":"https://api.github.com/repos/kadena-io/pact","labels_url":"https://api.github.com/repos/kadena-io/pact/issues/273/labels{/name}","comments_url":"https://api.github.com/repos/kadena-io/pact/issues/273/comments","events_url":"https://api.github.com/repos/kadena-io/pact/issues/273/events","html_url":"https://github.com/kadena-io/pact/issues/273","id":376572520,"node_id":"MDU6SXNzdWUzNzY1NzI1MjA=","number":273,"title":"\"REPL-only\" functions usable in module code","user":{"login":"fosskers","id":229679,"node_id":"MDQ6VXNlcjIyOTY3OQ==","avatar_url":"https://avatars0.githubusercontent.com/u/229679?v=4","gravatar_id":"","url":"https://api.github.com/users/fosskers","html_url":"https://github.com/fosskers","followers_url":"https://api.github.com/users/fosskers/followers","following_url":"https://api.github.com/users/fosskers/following{/other_user}","gists_url":"https://api.github.com/users/fosskers/gists{/gist_id}","starred_url":"https://api.github.com/users/fosskers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fosskers/subscriptions","organizations_url":"https://api.github.com/users/fosskers/orgs","repos_url":"https://api.github.com/users/fosskers/repos","events_url":"https://api.github.com/users/fosskers/events{/privacy}","received_events_url":"https://api.github.com/users/fosskers/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-11-01T21:11:24Z","updated_at":"2018-11-01T21:22:50Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"The ReadTheDocs claim that `print` is a REPL-only function, however the following seems to be possible:\r\n```lisp\r\n(define-keyset 'admin-keyset (read-keyset \"admin-keyset\"))\r\n\r\n(module helloWorld 'admin-keyset\r\n  \"A smart contract to greet the world.\"\r\n  \r\n  (defun hello (name)\r\n    \"Do the hello-world dance\"\r\n    (print \"We're off to see the wizard...\")\r\n    (format \"Hello {}!\" [name]))\r\n\r\n  ;; Doesn't work - reported as \"syntax error\".\r\n  ;; (print \"The wonderful wizard...\")\r\n)\r\n\r\n(print \"...of Oz!\")\r\n```\r\nWhen loaded into a REPL, we see:\r\n\r\n![2018-11-01-140835_1918x1078_scrot](https://user-images.githubusercontent.com/229679/47880275-015bb400-dde0-11e8-9a4a-aeb75db83641.png)\r\n"},"comment":{"url":"https://api.github.com/repos/kadena-io/pact/issues/comments/435192020","html_url":"https://github.com/kadena-io/pact/issues/273#issuecomment-435192020","issue_url":"https://api.github.com/repos/kadena-io/pact/issues/273","id":435192020,"node_id":"MDEyOklzc3VlQ29tbWVudDQzNTE5MjAyMA==","user":{"login":"fosskers","id":229679,"node_id":"MDQ6VXNlcjIyOTY3OQ==","avatar_url":"https://avatars0.githubusercontent.com/u/229679?v=4","gravatar_id":"","url":"https://api.github.com/users/fosskers","html_url":"https://github.com/fosskers","followers_url":"https://api.github.com/users/fosskers/followers","following_url":"https://api.github.com/users/fosskers/following{/other_user}","gists_url":"https://api.github.com/users/fosskers/gists{/gist_id}","starred_url":"https://api.github.com/users/fosskers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fosskers/subscriptions","organizations_url":"https://api.github.com/users/fosskers/orgs","repos_url":"https://api.github.com/users/fosskers/repos","events_url":"https://api.github.com/users/fosskers/events{/privacy}","received_events_url":"https://api.github.com/users/fosskers/received_events","type":"User","site_admin":false},"created_at":"2018-11-01T21:22:50Z","updated_at":"2018-11-01T21:22:50Z","author_association":"CONTRIBUTOR","body":"Note that `verify` does *not* work - the REPL says that it can't resolve the symbol."}}
{"actor":{"display_login":"fosskers"}}