Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/flupe/generics
https://github.com/flupe/generics
Last synced: 30 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/flupe/generics
- Owner: flupe
- License: mit
- Created: 2021-01-14T18:07:20.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2022-09-13T10:10:31.000Z (over 2 years ago)
- Last Synced: 2023-03-05T20:38:04.101Z (almost 2 years ago)
- Language: Agda
- Size: 212 KB
- Stars: 18
- Watchers: 2
- Forks: 6
- Open Issues: 4
-
Metadata Files:
- Readme: README.agda
- License: LICENSE
Awesome Lists containing this project
README
module README where
------------------------------------------------------------------------
-- Core definitions
------------------------------------------------------------------------import Generics.Prelude
-- Generics.Telescope introduces an encoding for telescopes,
-- along with functions to manipulate indexed functions and families.
import Generics.Telescope-- Generics.Desc introduces the core universe of descriptions for datatypes.
import Generics.Descimport Generics.All
-- Generics.Accessibility introduces the accessibility predicate for datatypes.
import Generics.Accessibility-- Generics.HasDesc defines the HasDesc record,
-- bridging the gap between descriptions of datatypes
-- and their concrete Agda counterpart.
import Generics.HasDesc-- Generics.Reflection implements the deriveDesc macro
-- to automatically derive an instance of HasDesc for most datatypes.
import Generics.Reflection------------------------------------------------------------------------
-- Generic constructions
-------------------------------------------------------------------------- Generic show implemetation
import Generics.Constructions.Show-- Datatype-generic case analysis principle
import Generics.Constructions.Case-- Datatype-generic fold
import Generics.Constructions.Fold-- Datatype-generic recursion
import Generics.Constructions.Recursion-- Datatype-generic decidable equality
import Generics.Constructions.DecEq-- Datatype-generic elimination principle
import Generics.Constructions.Elim-- No Confusion principle
import Generics.Constructions.NoConfusion-- Conversion to μ types
import Generics.Constructions.Mu------------------------------------------------------------------------
-- Generic constructions on μ types
------------------------------------------------------------------------import Generics.Mu
import Generics.Mu.All
import Generics.Mu.Elim
import Generics.Mu.Fold