{"action":"opened","issue":{"url":"https://api.github.com/repos/henrikurms/tail2futhark/issues/3","repository_url":"https://api.github.com/repos/henrikurms/tail2futhark","labels_url":"https://api.github.com/repos/henrikurms/tail2futhark/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/henrikurms/tail2futhark/issues/3/comments","events_url":"https://api.github.com/repos/henrikurms/tail2futhark/issues/3/events","html_url":"https://github.com/henrikurms/tail2futhark/issues/3","id":151269392,"number":3,"title":"trunc","user":{"login":"melsman","id":1167803,"avatar_url":"https://avatars.githubusercontent.com/u/1167803?v=3","gravatar_id":"","url":"https://api.github.com/users/melsman","html_url":"https://github.com/melsman","followers_url":"https://api.github.com/users/melsman/followers","following_url":"https://api.github.com/users/melsman/following{/other_user}","gists_url":"https://api.github.com/users/melsman/gists{/gist_id}","starred_url":"https://api.github.com/users/melsman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/melsman/subscriptions","organizations_url":"https://api.github.com/users/melsman/orgs","repos_url":"https://api.github.com/users/melsman/repos","events_url":"https://api.github.com/users/melsman/events{/privacy}","received_events_url":"https://api.github.com/users/melsman/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-04-27T00:20:46Z","updated_at":"2016-04-27T00:20:46Z","closed_at":null,"body":"When typing \"make all\" in the test/benchmark directory, the tail2futhark compiler translates successfully the eacheaster.tail program into a file eacheaster.fut file, but it seems to reference a function `trunc`, which is not in scope:\r\n\r\n    make all\r\n    ...\r\n    ~/gits/apltail/aplt -p_types -p_tail -silent -c -o eacheaster.tail ~/gits/apltail/lib/prelude.apl eacheaster.apl \r\n    Wrote file eacheaster.tail\r\n    ~/gits/tail2futhark/dist/build/tail2futhark/tail2futhark -o eacheaster.fut eacheaster.tail \r\n    futhark-c -o fut_eacheaster eacheaster.fut\r\n    Unknown function trunc called at eacheaster.fut:123:58-123:58.\r\n\r\nMaybe the futhark compiler changed?!\r\n\r\n    bash-3.2$ futhark-c -v\r\n    Futhark 0.1\r\n    (C) HIPERFIT research centre\r\n    Department of Computer Science, University of Copenhagen (DIKU) "}}