avix-0.1.0.0

Safe HaskellNone
LanguageHaskell2010

Data.Exo.ExoFormat

Synopsis

Documentation

showt :: Show a => a -> Text Source #

showt = pack . show

showBin :: Bool -> Text Source #

showBin True = "1"
showBin False = "0"

showOpt :: Bool -> Text Source #

showOpt True = "1"
showOpt False = ""

class ExoFormat t where Source #

Minimal complete definition

eformat, def

Methods

eformat :: Int -> t -> Text Source #

Takes object index, data and returns formatted text.

def :: t Source #

Instances

ExoFormat CustomObject Source # 
ExoFormat Figure Source # 
ExoFormat FrameBuffer Source # 
ExoFormat Image Source # 
ExoFormat Movie Source # 
ExoFormat PreviousObject Source # 
ExoFormat Scene Source # 
ExoFormat Sound Source # 
ExoFormat SoundWave Source # 
ExoFormat Text Source # 

Methods

eformat :: Int -> Text -> Text Source #

def :: Text Source #

ExoFormat ExtRenderer Source # 
ExoFormat ParticleOutput Source # 
ExoFormat StdRenderer Source # 
ExoFormat TLObject Source # 
ExoFormat Exedit Source #