Comments (1)
Now I remember, as a consequence we can derive "MonadFree Identity Fresh
" for our little friend down there:
type Fresh :: Type -> Type
newtype Fresh a = Fresh (Integer -> (a, Integer))
deriving
(Functor, Applicative, Monad, MonadFix, MonadState Integer, MonadFree Identity)
via State Integer
I was wondering if State Integer
could make sense as a MonadFree
instance which lead me to think about Identity
..
from free.
Related Issues (20)
- Missing free 5 migration guide HOT 2
- Metadata revisions for 4.8 and 4.8.0.1 HOT 2
- free-5 doesn't build on old GHCs with transformers-0.4 HOT 3
- Fails with GHC-7.8.4 and installed transformers HOT 9
- Failure building free 5.0.2 with GHC 8.4.2 cross to iOS
- 'Ap' from 'Control.Applicative.Free' conflicts with 'Ap' in base-4.12
- ComonadTraced instance for CofreeT
- Add a MonadBaseControl instance for CofreeT HOT 6
- Simplify the applicative instance of Free HOT 2
- Deriving Via for several datatypes HOT 1
- Nu-based distributive cofree
- Add a class for free monad transformer-type things.
- Document 'Control.Monad.Free.Ap' has to work only on "commutative" monads
- Why does hoistFree have such a strict type? HOT 2
- deriving (Applicative, Monad) via GenericFreeMonad "Pure" (Free f)
- Support transformers-0.6 HOT 3
- Further simplify instances to avoid overkill *1 classes
- Dangling Links HOT 2
- `hoistFree` should be named `transFree`
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from free.