packages feed

battleplace-0.1.0.5 / BattlePlace / Rating.hs

{-|Module: BattlePlace.RatingDescription: Rating type.License: MIT-}{-# LANGUAGE GeneralizedNewtypeDeriving #-}module BattlePlace.Rating	( Rating(..)	) whereimport qualified Data.Aeson as J-- | User rating.newtype Rating = Rating Double deriving (Eq, Ord, J.FromJSON, J.ToJSON)