{"action":"closed","issue":{"url":"https://api.github.com/repos/hkuplg/fcore/issues/11","labels_url":"https://api.github.com/repos/hkuplg/fcore/issues/11/labels{/name}","comments_url":"https://api.github.com/repos/hkuplg/fcore/issues/11/comments","events_url":"https://api.github.com/repos/hkuplg/fcore/issues/11/events","html_url":"https://github.com/hkuplg/fcore/issues/11","id":58504544,"number":11,"title":"One example to cripple the frontend","user":{"login":"tomtau","id":2410580,"avatar_url":"https://avatars.githubusercontent.com/u/2410580?v=3","gravatar_id":"","url":"https://api.github.com/users/tomtau","html_url":"https://github.com/tomtau","followers_url":"https://api.github.com/users/tomtau/followers","following_url":"https://api.github.com/users/tomtau/following{/other_user}","gists_url":"https://api.github.com/users/tomtau/gists{/gist_id}","starred_url":"https://api.github.com/users/tomtau/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tomtau/subscriptions","organizations_url":"https://api.github.com/users/tomtau/orgs","repos_url":"https://api.github.com/users/tomtau/repos","events_url":"https://api.github.com/users/tomtau/events{/privacy}","received_events_url":"https://api.github.com/users/tomtau/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/hkuplg/fcore/labels/bitbucket","name":"bitbucket","color":"ededed"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-02-22T14:38:01Z","updated_at":"2015-02-22T14:41:46Z","closed_at":"2015-02-22T14:41:46Z","body":"As @xieningning points out, the following example should be a valid program:\r\n\r\n```\r\nlet rec\r\n  map A B (f:A->B) (n:Int): Bool =\r\n    if(n<0)\r\n    then True\r\n    else map A B f (n-1)\r\nand\r\n  f(x:Int):Int = x+1\r\nin\r\n  map Int Int f 6\r\n```\r\n\r\nHowever, I am confirmed that in develop branch, the above program crashed somewhere in the frontend, resulting the notorious `segmentation fault`. "}}