{"action":"opened","issue":{"url":"https://api.github.com/repos/banacorn/agda-mode/issues/20","labels_url":"https://api.github.com/repos/banacorn/agda-mode/issues/20/labels{/name}","comments_url":"https://api.github.com/repos/banacorn/agda-mode/issues/20/comments","events_url":"https://api.github.com/repos/banacorn/agda-mode/issues/20/events","html_url":"https://github.com/banacorn/agda-mode/issues/20","id":98566574,"number":20,"title":"goal content is parsed incorrectly","user":{"login":"markokoleznik","id":8185285,"avatar_url":"https://avatars.githubusercontent.com/u/8185285?v=3","gravatar_id":"","url":"https://api.github.com/users/markokoleznik","html_url":"https://github.com/markokoleznik","followers_url":"https://api.github.com/users/markokoleznik/followers","following_url":"https://api.github.com/users/markokoleznik/following{/other_user}","gists_url":"https://api.github.com/users/markokoleznik/gists{/gist_id}","starred_url":"https://api.github.com/users/markokoleznik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/markokoleznik/subscriptions","organizations_url":"https://api.github.com/users/markokoleznik/orgs","repos_url":"https://api.github.com/users/markokoleznik/repos","events_url":"https://api.github.com/users/markokoleznik/events{/privacy}","received_events_url":"https://api.github.com/users/markokoleznik/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-08-01T22:54:42Z","updated_at":"2015-08-01T22:54:42Z","closed_at":null,"body":"This example gives me Parse error. I'm quite sure it's because `\\n` character inside that goal, which stands for λ in Agda I believe.  Try it in Emacs, you should get normal result when normalizing that goal. (`ctrl-c ctrl-r`)\r\n```\r\nmodule Foo where\r\n\r\n data ℕ : Set where\r\n   zero : ℕ\r\n   succ : ℕ → ℕ\r\n\r\n data Ordinal : Set where\r\n   zer : Ordinal\r\n   suc : Ordinal → Ordinal\r\n   sup : (ℕ → Ordinal) → Ordinal\r\n\r\n sum : Ordinal → Ordinal → Ordinal\r\n sum zer y = y\r\n sum (suc x) y = suc (sum x y)\r\n sum (sup xs) y = {! \\n → sup !}\r\n```\r\nBtw, I'm using 0.3.7 version of agda-mode."}}