heystone-0.1.0: Haskell bindings for the Keystone assembler framework
Copyright(c) Adrian Herrera 2016
LicenseGPL-2
Safe HaskellSafe-Inferred
LanguageHaskell2010

Heystone.Internal.Util

Description

 
Synopsis

Documentation

combineEnums :: (Enum a, Num b, Bits b) => [a] -> b Source #

Combine a list of Enums by performing a bitwise-OR.

enumToNum :: (Enum a, Num b) => a -> b Source #

Convert an Enum to a Num.