Hoogle Search
Within LTS Haskell 24.62 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
fromListPrefix :: forall (n :: Nat) a . SNatI n => [a] -> Maybe (Vec n a)vec Data.Vec.Pull Convert list [a] to Vec n a. Returns Nothing if input list is too short.
>>> L.fromPull <$> fromListPrefix "foo" :: Maybe (L.Vec N.Nat3 Char) Just ('f' ::: 'o' ::: 'o' ::: VNil)>>> L.fromPull <$> fromListPrefix "quux" :: Maybe (L.Vec N.Nat3 Char) Just ('q' ::: 'u' ::: 'u' ::: VNil)>>> L.fromPull <$> fromListPrefix "xy" :: Maybe (L.Vec N.Nat3 Char) Nothing
reifyList :: [a] -> (forall (n :: Nat) . SNatI n => Vec n a -> r) -> rvec Data.Vec.Pull Reify any list [a] to Vec n a.
>>> reifyList "foo" length 3
toList :: forall (n :: Nat) a . SNatI n => Vec n a -> [a]vec Data.Vec.Pull Convert Vec to list.
-
web3-solidity Data.Solidity.Event.Internal No documentation available.
class
HListMerge (as :: [Type]) (bs :: [Type])web3-solidity Data.Solidity.Event.Internal No documentation available.
class
HListMergeSort (as :: [Type]) (bs :: [Type])web3-solidity Data.Solidity.Event.Internal No documentation available.
class
HListRep a (xs :: [Type]) | a -> xs, a -> xsweb3-solidity Data.Solidity.Event.Internal Generic representation to HList representation
fromHList :: HListRep a xs => HList xs -> aweb3-solidity Data.Solidity.Event.Internal No documentation available.
mergeHList :: HListMerge as bs => HList as -> HList bs -> HList (Concat as bs)web3-solidity Data.Solidity.Event.Internal No documentation available.
mergeSortHList :: HListMergeSort as bs => HList as -> HList bs -> HList (MergeSort' as bs)web3-solidity Data.Solidity.Event.Internal No documentation available.