Skip to content

jozefg/generic-church

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A package to reify types equipped with a generics instance back and forth between church representations.

As an example.

> let x = Just True
> toChurch x 0 (const 1)
  1
> fromChurch (\nothing just -> just True) :: Maybe Bool
  Just True

About

automatic church encodings

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published