Module
Kancho.Generate
- Package
- purescript-kancho
- Repository
- justinwoo/purescript-kancho
#getElmRep Source
getElmRep :: forall a. HasElmPortVersion a => HasElmTypeRep a => Proxy a -> String
#HasElmTypeRep Source
class HasElmTypeRep r where
Members
toElmTypeRep :: Int -> Proxy r -> String
Instances
HasElmTypeRep Int
HasElmTypeRep Number
HasElmTypeRep String
HasElmTypeRep Boolean
(HasElmTypeRep inner) => HasElmTypeRep (Array inner)
HasElmTypeRep Foreign
(HasElmTypeRepFields fieldList, RowToList fields fieldList) => HasElmTypeRep (Record fields)
#HasElmTypeRepFields Source
class HasElmTypeRepFields (xs :: RowList) where
Members
Instances
(IsSymbol name, HasElmTypeRep ty, ListToRow tail tailRow, HasElmTypeRepFields tail, RowToList tailRow tail) => HasElmTypeRepFields (Cons name ty tail)
HasElmTypeRepFields Nil
- Modules
- Kancho
- Kancho.
Generate