Module

Logoot.Id

Package
purescript-logoot-core
Repository
juspay/purescript-logoot-core

#IdGenerator Source

type IdGenerator m g f i s c = { rand :: Int -> Int -> m Int } -> Base -> IdentifierF f i c -> IdentifierF f i c -> Int -> Boundary -> s -> m (g (IdentifierF f i c))

#logootRand Source

logootRand :: forall c i s m f g. Container f => Container g => Site s m i c => IdGenerator m g f i s c

#metric Source

metric :: forall f. Foldable f => Base -> f Int -> Number

#prefixAsContainer Source

prefixAsContainer :: forall c i f. Container f => Base -> Int -> IdentifierF f i c -> f Int

#prefix Source

prefix :: forall c i f. Container f => Base -> Int -> IdentifierF f i c -> Number

#intervalLength Source

intervalLength :: forall c i f. Container f => Base -> Int -> IdentifierF f i c -> IdentifierF f i c -> Int