frostc-1.0.0.0: The Frost Programming Language Compiler
Safe HaskellSafe-Inferred
LanguageHaskell2010

Codegen.Utils

Synopsis

Documentation

stringToByteString :: String -> ShortByteString Source #

Converts a string to a ByteString.

byteStringToString :: ShortByteString -> String Source #

Converts a ByteString to a string.

nameToString :: Name -> String Source #

Converts AST.Name to a string.