Copyright | (c) Philip Cunningham, 2015 |
---|---|
License | MIT |
Maintainer | hello@filib.io |
Stability | experimental |
Portability | portable |
Safe Haskell | None |
Language | Haskell2010 |
Ruby Marshal deserialiser using Data.Serialize
.
- getMarshalVersion :: Marshal (Word8, Word8)
- getRubyObject :: Marshal RubyObject
- getNil :: Marshal ()
- getBool :: Marshal Bool
- getArray :: Marshal a -> Marshal (Vector a)
- getFixnum :: Marshal Int
- getFloat :: Marshal Double
- getHash :: forall k v. Ord k => Marshal k -> Marshal v -> Marshal (Map k v)
- getIVar :: Marshal RubyObject -> Marshal (RubyObject, ByteString)
- getObjectLink :: Marshal (RubyObject, ByteString)
- getString :: Marshal ByteString
- getSymbol :: Marshal ByteString
- getSymlink :: Marshal ByteString
Documentation
getMarshalVersion :: Marshal (Word8, Word8) Source
Deserialises Marshal version.
getRubyObject :: Marshal RubyObject Source
Deserialises a subset of Ruby objects.
getHash :: forall k v. Ord k => Marshal k -> Marshal v -> Marshal (Map k v) Source
Deserialises Hash.
getIVar :: Marshal RubyObject -> Marshal (RubyObject, ByteString) Source
Deserialises Instance Variables.
getObjectLink :: Marshal (RubyObject, ByteString) Source
Deserialises Symbol.
getString :: Marshal ByteString Source
Deserialises String.
getSymbol :: Marshal ByteString Source
Deserialises Symbol.
getSymlink :: Marshal ByteString Source
Deserialises Symbol.