Module

Data.Variant.Internal

Package
purescript-variant
Repository
natefaubion/purescript-variant

#FProxy Source

data FProxy (a :: Type -> Type)

Proxy for a Functor.

Constructors

#VariantRep Source

newtype VariantRep a

Constructors

#VariantMatchCases Source

class VariantMatchCases (rl :: RowList) (vo :: Row Type) b | rl -> vo b

Instances

#VariantFMatchCases Source

class VariantFMatchCases (rl :: RowList) (vo :: Row Type) a b | rl -> vo a b

Instances

#VariantCase Source

#VariantFCase Source

#VariantTags Source

class VariantTags (rl :: RowList)  where

Members

Instances

#lookupTag Source

lookupTag :: String -> List String -> Boolean

A specialized lookup function which bails early. Foldable's elem is always worst-case.

#lookup Source

lookup :: forall a. String -> String -> List String -> List a -> a

#Contractable Source

class Contractable gt lt  where

Members

Instances

Re-exports from Data.Record.Unsafe

#unsafeHas

unsafeHas :: forall r1. String -> Record r1 -> Boolean

#unsafeGet

unsafeGet :: forall a r. String -> Record r -> a

Re-exports from Type.Row

#RProxy Source

data RProxy (row :: Row Type)

Constructors

#RLProxy Source

data RLProxy (rowList :: RowList)

Constructors