solomon-b / monoidal-functors Goto Github PK
View Code? Open in Web Editor NEWA library encoding monoidal functors and related structures in Haskell.
Home Page: https://hackage.haskell.org/package/monoidal-functors
License: MIT License
A library encoding monoidal functors and related structures in Haskell.
Home Page: https://hackage.haskell.org/package/monoidal-functors
License: MIT License
There are many laws related to the classes in this library. It would be great to use QuickCheck to test them.
Compatibility with this version would make it possible to upgrade Stackage
I have a PR with various haddock improvements but it would be amazing if someone more knowledgeable then myself could help on this task. Examples are especially valuable!
For example:
deriving via FromApplicative (Proxy :: Type -> Type) instance Semigroupal (->) (,) (,) (Proxy :: Type -> Type)
deriving via FromDivisible (Proxy :: Type -> Type) instance Semigroupal (->) (,) (,) (Proxy :: Type -> Type)
deriving via FromAlternative (Proxy :: Type -> Type) instance Semigroupal (->) Either (,) (Proxy :: Type -> Type)
deriving via FromDecidable (Proxy :: Type -> Type) instance Semigroupal (->) Either (,) (Proxy :: Type -> Type)
The instances are indistinguishable because we don't mention the input category in Semigroupal
. Unfortunately the reason for this is that the input category doesn't actually occur in the operation of Semigroupal
leading to ambiguity which would require tedious type application from our users to resolve. To have are cake and eat it too, we would need to add this input category type parameter to Semigroupal
and come up with a system of fundeps so that it would fixed without the use of type applications.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.