HN
Hacker News
Top
New
Best
Ask
Show
Jobs
Comment by tmoertel | Hacker News Reader
Parent
Full thread
tmoertel
·
Do you mean to ask whether `Set` (no `e`) is a functor?
View on HN
munchler
·
Yes, I was just trying to be descriptive by including the full signature.
tmoertel
·
Ok. It's just that, as asked, the answer is obviously no because if F = `Set e`, F is not a type constructor, so F cannot be a functor.
munchler
·
Understood. I should've left the `e` out, but it's too late to edit now. (I love Haskell, but I'm not actually very good at it.)
pxeger1
·
If `F a = Set e` for some
constant
e, then F is a functor (just a trivial one)
Reply on news.ycombinator.com