Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- data ShortHash
- newtype ShortCausalHash = ShortCausalHash {}
- newtype ShortNamespaceHash = ShortNamespaceHash {}
- isPrefixOf :: ShortHash -> ShortHash -> Bool
- shortenTo :: Int -> ShortHash -> ShortHash
- fromText :: Text -> Maybe ShortHash
- toText :: ShortHash -> Text
Documentation
newtype ShortCausalHash Source #
Instances
Show ShortCausalHash Source # | |
Defined in Unison.ShortHash showsPrec :: Int -> ShortCausalHash -> ShowS # show :: ShortCausalHash -> String # showList :: [ShortCausalHash] -> ShowS # | |
Eq ShortCausalHash Source # | |
Defined in Unison.ShortHash (==) :: ShortCausalHash -> ShortCausalHash -> Bool # (/=) :: ShortCausalHash -> ShortCausalHash -> Bool # | |
Ord ShortCausalHash Source # | |
Defined in Unison.ShortHash compare :: ShortCausalHash -> ShortCausalHash -> Ordering # (<) :: ShortCausalHash -> ShortCausalHash -> Bool # (<=) :: ShortCausalHash -> ShortCausalHash -> Bool # (>) :: ShortCausalHash -> ShortCausalHash -> Bool # (>=) :: ShortCausalHash -> ShortCausalHash -> Bool # max :: ShortCausalHash -> ShortCausalHash -> ShortCausalHash # min :: ShortCausalHash -> ShortCausalHash -> ShortCausalHash # |
newtype ShortNamespaceHash Source #
Instances
Show ShortNamespaceHash Source # | |
Defined in Unison.ShortHash showsPrec :: Int -> ShortNamespaceHash -> ShowS # show :: ShortNamespaceHash -> String # showList :: [ShortNamespaceHash] -> ShowS # | |
Eq ShortNamespaceHash Source # | |
Defined in Unison.ShortHash (==) :: ShortNamespaceHash -> ShortNamespaceHash -> Bool # (/=) :: ShortNamespaceHash -> ShortNamespaceHash -> Bool # | |
Ord ShortNamespaceHash Source # | |
Defined in Unison.ShortHash compare :: ShortNamespaceHash -> ShortNamespaceHash -> Ordering # (<) :: ShortNamespaceHash -> ShortNamespaceHash -> Bool # (<=) :: ShortNamespaceHash -> ShortNamespaceHash -> Bool # (>) :: ShortNamespaceHash -> ShortNamespaceHash -> Bool # (>=) :: ShortNamespaceHash -> ShortNamespaceHash -> Bool # max :: ShortNamespaceHash -> ShortNamespaceHash -> ShortNamespaceHash # min :: ShortNamespaceHash -> ShortNamespaceHash -> ShortNamespaceHash # |