battleplace-0.1.0.1: Core definitions for BattlePlace.io service
BattlePlace.Rating
Description
Synopsis
newtype Rating Source #
User rating.
Constructors
Instances
Methods
(==) :: Rating -> Rating -> Bool #
(/=) :: Rating -> Rating -> Bool #
compare :: Rating -> Rating -> Ordering #
(<) :: Rating -> Rating -> Bool #
(<=) :: Rating -> Rating -> Bool #
(>) :: Rating -> Rating -> Bool #
(>=) :: Rating -> Rating -> Bool #
max :: Rating -> Rating -> Rating #
min :: Rating -> Rating -> Rating #
toJSON :: Rating -> Value #
toEncoding :: Rating -> Encoding #
toJSONList :: [Rating] -> Value #
toEncodingList :: [Rating] -> Encoding #
parseJSON :: Value -> Parser Rating #
parseJSONList :: Value -> Parser [Rating] #