pflags = protRead <> protWrite
mflags = mapAnon .|. mapPrivate
What's the difference between these two operators? pflags = protRead <> protWrite
mflags = mapAnon .|. mapPrivate
What's the difference between these two operators? instance Monoid ProtOption where
mempty = protNone
mappend (ProtOption a) (ProtOption b) = ProtOption (a .|. b)
[1]: https://github.com/sdiehl/tinyjit/blob/master/src/JIT.hs