arrayfire / arrayfire/arrayfire-haskell

Investigate Bits instance on Array CBool

Abierto
#34 1 comentario 0 reacciones 2 asignados Reclamado por @chessai Ver en GitHub
enhancement good first issue help wanted question
Lenguaje dominante
Haskell
Estrellas
60
Forks
5
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

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
```

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.