Safe Haskell | Safe-Inferred |
---|
Haskell values embedding
Documentation
Embed haskell values into external commands
I recommend using -XExtendedDefaultRules
for modules
where you want to embed values, it would save for annoying
type annotations for numeric literals
embed . embed = embed
Embed Char |
|
Embed Double | |
Embed Float | |
Embed Int | |
Embed Int8 | |
Embed Int16 | |
Embed Int32 | |
Embed Int64 | |
Embed Integer | |
Embed Word | |
Embed Word8 | |
Embed Word16 | |
Embed Word32 | |
Embed Word64 | |
Embed String |
|
Embed Text |
|
Embed Text |
|
Embed CInt | |
Embed CLong | |
Embed CChar | |
Embed CSize | |
Embed CUShort | |
Embed CULong | |
Embed CULLong | |
Embed CUInt | |
Embed CUChar | |
Embed CShort | |
Embed CSChar | |
Embed CLLong | |
Embed CFloat | |
Embed CDouble | |
~ * a Integer => Embed (Ratio a) |
|