blob: 5cf397e82232e31de02283bb1e79cde397e37334 (
plain) (
tree)
|
|
module Xanthous.Entities.Character
( Character(..)
, mkCharacter
) where
import Xanthous.Prelude
import Test.QuickCheck
import Xanthous.Entities
data Character where
Character :: Character
deriving stock (Show, Eq, Ord, Generic)
deriving anyclass (CoArbitrary, Function)
deriving Draw via (DrawCharacter "@" Character)
instance Arbitrary Character where
arbitrary = pure Character
mkCharacter :: Character
mkCharacter = Character
|