Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
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
Nothing
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 CChar | |
Embed CSChar | |
Embed CUChar | |
Embed CShort | |
Embed CUShort | |
Embed CInt | |
Embed CUInt | |
Embed CLong | |
Embed CULong | |
Embed CLLong | |
Embed CULLong | |
Embed CFloat | |
Embed CDouble | |
Embed CSize | |
(~) * a Integer => Embed (Ratio a) |
|