ohhecs-0.0.2: An Entity-Component-Systems engine core.
Copyright(C) 2020 Sophie Taylor
LicenseAGPL-3.0-or-later
MaintainerSophie Taylor <sophie@spacekitteh.moe>
Stabilityexperimental
PortabilityGHC
Safe HaskellNone
LanguageGHC2021

Games.ECS.Component.TH

Description

Implements helper classes and constraints on components.

Synopsis

Documentation

makeHasComponentClass :: (MonadFail m, Quote m, Quasi m) => Name -> m [Dec] Source #

Creates the "classy optics" class, and the "Using" type synonym, matching a Component.