Title: Investigate Bits instance on Array CBool · Issue #34 · arrayfire/arrayfire-haskell · GitHub
Open Graph Title: Investigate Bits instance on Array CBool · Issue #34 · arrayfire/arrayfire-haskell
X Title: Investigate Bits instance on Array CBool · Issue #34 · arrayfire/arrayfire-haskell
Description: Theoretically, there's no reason this can't be supported. instance Bits (ArrayFire CBool) where (.&.) = A.and (.|.) = A.or xor = A.bitXor shiftL x n = A.shiftL x (scalar n) shiftR x n = A.shiftR x (scalar n) Still need to look into imple...
Open Graph Description: Theoretically, there's no reason this can't be supported. instance Bits (ArrayFire CBool) where (.&.) = A.and (.|.) = A.or xor = A.bitXor shiftL x n = A.shiftL x (scalar n) shiftR x n = A.shiftR x ...
X Description: Theoretically, there's no reason this can't be supported. instance Bits (ArrayFire CBool) where (.&.) = A.and (.|.) = A.or xor = A.bitXor shiftL x n = A.shiftL x (scalar n) shiftR x n =...
Opengraph URL: https://github.com/arrayfire/arrayfire-haskell/issues/34
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Investigate Bits instance on Array CBool","articleBody":"Theoretically, there's no reason this can't be supported.\r\n\r\n```haskell\r\ninstance Bits (ArrayFire CBool) where\r\n (.\u0026.) = A.and\r\n (.|.) = A.or\r\n xor = A.bitXor\r\n shiftL x n = A.shiftL x (scalar n)\r\n shiftR x n = A.shiftR x (scalar n)\r\n```\r\n\r\nStill need to look into implementing the following:\r\n```haskell\r\n(rotate | rotateL, rotateR), bitSize, bitSizeMaybe, isSigned, testBit, bit, popCount\r\n```","author":{"url":"https://github.com/dmjio","@type":"Person","name":"dmjio"},"datePublished":"2019-11-07T23:17:44.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/34/arrayfire-haskell/issues/34"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:e900b428-998f-da79-21bb-38aec8a867c3 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C11A:245AA:6B2285:95E37B:696E5CCB |
| html-safe-nonce | 6539b203f37c15201e4c7d24367bb225f75d86e98391d3e0295e8dbd305d4856 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMTFBOjI0NUFBOjZCMjI4NTo5NUUzN0I6Njk2RTVDQ0IiLCJ2aXNpdG9yX2lkIjoiMzQ3Mzc3MDc1MzM2NDQ4MzI3NSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 33a18121b925dfe338be5840e651802306880b0ffedfe8814a4f1025c1c51c6a |
| hovercard-subject-tag | issue:519568095 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/arrayfire/arrayfire-haskell/34/issue_layout |
| twitter:image | https://opengraph.githubassets.com/75dde972947fcdbc5391bce055cf0a45a295c39a59fd6beb9acfe3bda5f1a9b5/arrayfire/arrayfire-haskell/issues/34 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/75dde972947fcdbc5391bce055cf0a45a295c39a59fd6beb9acfe3bda5f1a9b5/arrayfire/arrayfire-haskell/issues/34 |
| og:image:alt | Theoretically, there's no reason this can't be supported. instance Bits (ArrayFire CBool) where (.&.) = A.and (.|.) = A.or xor = A.bitXor shiftL x n = A.shiftL x (scalar n) shiftR x n = A.shiftR x ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | dmjio |
| hostname | github.com |
| expected-hostname | github.com |
| None | f68b42d371252b0f236260d6234f4304a806fe5ac43d59faa21fb59d80df103b |
| turbo-cache-control | no-preview |
| go-import | github.com/arrayfire/arrayfire-haskell git https://github.com/arrayfire/arrayfire-haskell.git |
| octolytics-dimension-user_id | 5395442 |
| octolytics-dimension-user_login | arrayfire |
| octolytics-dimension-repository_id | 157932935 |
| octolytics-dimension-repository_nwo | arrayfire/arrayfire-haskell |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 157932935 |
| octolytics-dimension-repository_network_root_nwo | arrayfire/arrayfire-haskell |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 6b74bc8dbcd10b5d69fd9ee9d2cfdc8b35e18a4c |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width