You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello @npatsakula ! Bitwise operations are indeed missing (there are boolean or and and though). I'm a bit conflicted about the interface... For instance, in halide-haskell the type of shift would be Expr a -> Expr Int32 -> Expr a whereas in base it is a -> Int -> a. I need to think a bit how to best expose the bitwise operations with the syntax that is familiar to Haskellers, but without clashing with Prelude too much.
Personally I don't have any prejudgement about overlapping with Prelude: you can use qualified import and use functions with familiar names. I'd be glad if you tell me more about problem here.
Hello there!
Is it possible to use bit operations (
or
,and
, left/rightshift
) withhalide-haskell
?The text was updated successfully, but these errors were encountered: