mirror of
https://github.com/hablapps/DontFearTheProfunctorOptics.git
synced 2024-09-11 17:15:28 +03:00
Merge pull request #7 from yuanw/issue-6
Add comment about instantiate the profunctor family for DownStar closes #6
This commit is contained in:
commit
e1e0e26e17
@ -317,6 +317,8 @@ parameter type) as an exercise:
|
||||
newtype DownStar f a b = DownStar { runDownStar :: f a -> b }
|
||||
```
|
||||
|
||||
(You may not able instantiate all three classes for `DownStar`. If so, try to reason about why certain class cannot be instantiated.)
|
||||
|
||||
Take [`Tagged`](http://oleg.fi/gists/posts/2017-04-18-glassery.html) as another
|
||||
example:
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user