{"action":"created","issue":{"url":"https://api.github.com/repos/stan-dev/math/issues/63","labels_url":"https://api.github.com/repos/stan-dev/math/issues/63/labels{/name}","comments_url":"https://api.github.com/repos/stan-dev/math/issues/63/comments","events_url":"https://api.github.com/repos/stan-dev/math/issues/63/events","html_url":"https://github.com/stan-dev/math/issues/63","id":93385296,"number":63,"title":"remove scalar_type in favor of value_type","user":{"login":"syclik","id":425751,"avatar_url":"https://avatars.githubusercontent.com/u/425751?v=3","gravatar_id":"","url":"https://api.github.com/users/syclik","html_url":"https://github.com/syclik","followers_url":"https://api.github.com/users/syclik/followers","following_url":"https://api.github.com/users/syclik/following{/other_user}","gists_url":"https://api.github.com/users/syclik/gists{/gist_id}","starred_url":"https://api.github.com/users/syclik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/syclik/subscriptions","organizations_url":"https://api.github.com/users/syclik/orgs","repos_url":"https://api.github.com/users/syclik/repos","events_url":"https://api.github.com/users/syclik/events{/privacy}","received_events_url":"https://api.github.com/users/syclik/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/stan-dev/math/labels/Code%20cleanup","name":"Code cleanup","color":"006b75"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-07-06T21:52:09Z","updated_at":"2015-07-06T21:52:09Z","closed_at":null,"body":"_From @bob-carpenter on January 11, 2015 22:39_\n\nSuggested by Joshua N Pritikin via stan-dev:\r\n\r\nThe traits metaprograms `stan::math::value_type` and `stan::scalar_type` are near duplicates and should be merged.\r\n\r\n* The code layout for `stan::math::value_type` is the right one.  It goes in `math` and separates matrices from standard library uses.  It probably has the right test setup, too, since I wrote it recently.\r\n\r\n* The extension to pointers in `stan::scalar_type` is going to have to go in the combined definition.\r\n\r\nI'm not sure what all the helper-class complexity is for in `stan::scalar_type` but it'd be nice to understand before changing the behavior.\n\n_Copied from original issue: stan-dev/stan#1211_"},"comment":{"url":"https://api.github.com/repos/stan-dev/math/issues/comments/119007501","html_url":"https://github.com/stan-dev/math/issues/63#issuecomment-119007501","issue_url":"https://api.github.com/repos/stan-dev/math/issues/63","id":119007501,"user":{"login":"syclik","id":425751,"avatar_url":"https://avatars.githubusercontent.com/u/425751?v=3","gravatar_id":"","url":"https://api.github.com/users/syclik","html_url":"https://github.com/syclik","followers_url":"https://api.github.com/users/syclik/followers","following_url":"https://api.github.com/users/syclik/following{/other_user}","gists_url":"https://api.github.com/users/syclik/gists{/gist_id}","starred_url":"https://api.github.com/users/syclik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/syclik/subscriptions","organizations_url":"https://api.github.com/users/syclik/orgs","repos_url":"https://api.github.com/users/syclik/repos","events_url":"https://api.github.com/users/syclik/events{/privacy}","received_events_url":"https://api.github.com/users/syclik/received_events","type":"User","site_admin":false},"created_at":"2015-07-06T21:52:09Z","updated_at":"2015-07-06T21:52:09Z","body":"_From @randommm on January 27, 2015 14:47_\n\nI think VectorViewMvt only uses scalar_type_pre which in turn only uses scalar_type_helper_pre which is independent code from scalar_type_helper. Therefore, it doesn't use scalar_type_helper nor scalar_type."}}