{"action":"created","issue":{"url":"https://api.github.com/repos/scala-rules/rule-viewer/issues/8","repository_url":"https://api.github.com/repos/scala-rules/rule-viewer","labels_url":"https://api.github.com/repos/scala-rules/rule-viewer/issues/8/labels{/name}","comments_url":"https://api.github.com/repos/scala-rules/rule-viewer/issues/8/comments","events_url":"https://api.github.com/repos/scala-rules/rule-viewer/issues/8/events","html_url":"https://github.com/scala-rules/rule-viewer/issues/8","id":180598565,"number":8,"title":"value > is not a member of org.scalarules.engine.SingularFact[Int]","user":{"login":"robin1988","id":988235,"avatar_url":"https://avatars.githubusercontent.com/u/988235?v=3","gravatar_id":"","url":"https://api.github.com/users/robin1988","html_url":"https://github.com/robin1988","followers_url":"https://api.github.com/users/robin1988/followers","following_url":"https://api.github.com/users/robin1988/following{/other_user}","gists_url":"https://api.github.com/users/robin1988/gists{/gist_id}","starred_url":"https://api.github.com/users/robin1988/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robin1988/subscriptions","organizations_url":"https://api.github.com/users/robin1988/orgs","repos_url":"https://api.github.com/users/robin1988/repos","events_url":"https://api.github.com/users/robin1988/events{/privacy}","received_events_url":"https://api.github.com/users/robin1988/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-10-03T09:36:49Z","updated_at":"2016-10-03T10:10:47Z","closed_at":null,"body":"```\r\nclass MyBerekening extends Berekening(\r\n  nl.grammar.Gegeven (factA > 0) Bereken factC is factB - factA\r\n)\r\n```\r\n\r\nI am using the example mentioned in wiki but i get following error \r\n\r\n> value > is not a member of org.scalarules.engine.SingularFact[Int]\r\n\r\n\r\nThe above issue is in 0.3.4\r\n\r\nand in 0.2.6 i get error in MyGlossary \r\n\r\n> missing arguments for method defineFact in class Glossary;\r\nfollow this method with `_' if you want to treat it as a partially applied function"},"comment":{"url":"https://api.github.com/repos/scala-rules/rule-viewer/issues/comments/251071329","html_url":"https://github.com/scala-rules/rule-viewer/issues/8#issuecomment-251071329","issue_url":"https://api.github.com/repos/scala-rules/rule-viewer/issues/8","id":251071329,"user":{"login":"vzorge","id":3940229,"avatar_url":"https://avatars.githubusercontent.com/u/3940229?v=3","gravatar_id":"","url":"https://api.github.com/users/vzorge","html_url":"https://github.com/vzorge","followers_url":"https://api.github.com/users/vzorge/followers","following_url":"https://api.github.com/users/vzorge/following{/other_user}","gists_url":"https://api.github.com/users/vzorge/gists{/gist_id}","starred_url":"https://api.github.com/users/vzorge/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vzorge/subscriptions","organizations_url":"https://api.github.com/users/vzorge/orgs","repos_url":"https://api.github.com/users/vzorge/repos","events_url":"https://api.github.com/users/vzorge/events{/privacy}","received_events_url":"https://api.github.com/users/vzorge/received_events","type":"User","site_admin":false},"created_at":"2016-10-03T10:10:47Z","updated_at":"2016-10-03T10:10:47Z","body":"Hey Robin.\r\n\r\nYou need to ensure that you have the proper imports, because we work with a lot of implicits, which need to be imported. You can try it with \r\n`\r\nimport org.scalarules.dsl.nl.grammar._\r\nimport MyGlossary._\r\n`\r\n\r\nSee the main repository for more details (This is the viewer repo you are putting this issue on). Perhaps we have not documented things clearly enough, we will check out the documentation if it is clear enough about imports."}}
{"actor":{"display_login":"vzorge"}}