| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
CodeGen.Types.Parsed
Documentation
Instances
| Eq Parsable Source # | |
| Show Parsable Source # | |
| Generic Parsable Source # | |
| Hashable Parsable Source # | |
Defined in CodeGen.Types.Parsed | |
| type Rep Parsable Source # | |
Defined in CodeGen.Types.Parsed type Rep Parsable = D1 (MetaData "Parsable" "CodeGen.Types.Parsed" "hasktorch-codegen-0.0.1.1-inplace" False) (C1 (MetaCons "Ptr" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Parsable)) :+: (C1 (MetaCons "TenType" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 TenType)) :+: C1 (MetaCons "CType" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 CType)))) | |
Constructors
| CBool | |
| CVoid | |
| CPtrdiff | |
| CFloat | |
| CDouble | |
| CLong | |
| CUInt64 | |
| CUInt32 | |
| CUInt16 | |
| CUInt8 | |
| CInt64 | |
| CInt32 | |
| CInt16 | |
| CInt8 | |
| CInt | |
| CSize | |
| CChar | |
| CShort |
Instances
Constructors
| Pair | |
Fields
| |
Instances
| Eq TenType Source # | |
| Show TenType Source # | |
| Generic TenType Source # | |
| Hashable TenType Source # | |
Defined in CodeGen.Types.Parsed | |
| type Rep TenType Source # | |
Defined in CodeGen.Types.Parsed type Rep TenType = D1 (MetaData "TenType" "CodeGen.Types.Parsed" "hasktorch-codegen-0.0.1.1-inplace" True) (C1 (MetaCons "Pair" PrefixI True) (S1 (MetaSel (Just "unTenType") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (RawTenType, LibType)))) | |
data RawTenType Source #
Constructors
Instances
isConcreteCudaPrefixed :: TenType -> Bool Source #
allTenTypes :: [TenType] Source #
Instances
| Eq Arg Source # | |
| Show Arg Source # | |
| Generic Arg Source # | |
| Hashable Arg Source # | |
Defined in CodeGen.Types.Parsed | |
| type Rep Arg Source # | |
Defined in CodeGen.Types.Parsed type Rep Arg = D1 (MetaData "Arg" "CodeGen.Types.Parsed" "hasktorch-codegen-0.0.1.1-inplace" False) (C1 (MetaCons "Arg" PrefixI True) (S1 (MetaSel (Just "argType") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Parsable) :*: S1 (MetaSel (Just "argName") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text))) | |
Constructors
| Function | |
Instances
| Eq Function Source # | |
| Show Function Source # | |
| Generic Function Source # | |
| Hashable Function Source # | |
Defined in CodeGen.Types.Parsed | |
| type Rep Function Source # | |
Defined in CodeGen.Types.Parsed type Rep Function = D1 (MetaData "Function" "CodeGen.Types.Parsed" "hasktorch-codegen-0.0.1.1-inplace" False) (C1 (MetaCons "Function" PrefixI True) ((S1 (MetaSel (Just "funPrefix") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe (LibType, Text))) :*: S1 (MetaSel (Just "funName") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)) :*: (S1 (MetaSel (Just "funArgs") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 [Arg]) :*: S1 (MetaSel (Just "funReturn") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Parsable)))) | |