GShow documentation

AbsoluteUri :: String -> ResourceId
ContextRelativeUri :: String -> ResourceId
NamedChildOf :: ResourceId -> String -> ResourceId
PropertyOf :: ResourceId -> String -> ResourceId
decodeBase64 :: String -> Vector Byte

Decodes a Base64 string back into bytes.

encodeBase64 :: Vector Byte -> String

Encodes the given bytes as a Base64 string.

gappend :: GShow a => Resource -> StringBuilder.T -> a -> <Proc,ReadGraph> StringBuilder.T

Appends the string representation of the value to the string builder in a read transaction.

graphPrecedence :: GShow a => a -> Integer

Returns the precedence of the value. It is used to determine if parentheses are needed around the string representation of the value. The default value is 0 and means that parentheses are never added.

gshow :: GShow a => Resource -> a -> <Proc,ReadGraph> String

Converts a value to string in a read transaction.

resourceId :: Resource -> Resource -> <ReadGraph> Maybe ResourceId

Finds a way to address the second resource relative to the first, by following owner and functional reference relations upwards until the context resource or the root library is reached. Returns Nothing if the resource cannot be reached that way.

simplifyResourceIdHead :: ResourceId -> ResourceId