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
#prefixAsContainer Source
prefixAsContainer :: forall c i f. Container f => Base -> Int -> IdentifierF f i c -> f Int
#intervalLength Source
intervalLength :: forall c i f. Container f => Base -> Int -> IdentifierF f i c -> IdentifierF f i c -> Int