minilight-0.5.0: A SDL2-based graphics library, batteries-included.
Safe HaskellNone
LanguageHaskell2010

Data.Component.Resolver

Description

This module provides the default resolver for pre-defined components.

Synopsis

Documentation

resolver :: Resolver Source #

Pre-defined resolver supports all components in this library.

extendResolver Source #

Arguments

:: (FromJSON a, ComponentUnit c) 
=> Text

Name

-> (a -> MiniLight c)

Constructor of the component

-> Resolver

Old resolver

-> Resolver