arrayfire / arrayfire/arrayfire-haskell
Investigate Bits instance on Array CBool
Open
enhancement
good first issue
help wanted
question
- Dominant language
- Haskell
- Stars
- 60
- Forks
- 5
- PR merge metrics
- No merged PRs in 30d
Description
Theoretically, there's no reason this can't be supported.
```haskell
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 implementing the following:
```haskell
(rotate | rotateL, rotateR), bitSize, bitSizeMaybe, isSigned, testBit, bit, popCount
```
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.