Not signed in (Sign In)

Not signed in

Want to take part in these discussions? Sign in if you have an account, or apply for one below

  • Sign in using OpenID

Site Tag Cloud

2-category 2-category-theory abelian-categories adjoint algebra algebraic algebraic-geometry algebraic-topology analysis analytic-geometry arithmetic arithmetic-geometry book bundles calculus categorical categories category category-theory chern-weil-theory cohesion cohesive-homotopy-type-theory cohomology colimits combinatorics complex complex-geometry computable-mathematics computer-science constructive cosmology definitions deformation-theory descent diagrams differential differential-cohomology differential-equations differential-geometry digraphs duality elliptic-cohomology enriched fibration foundation foundations functional-analysis functor gauge-theory gebra geometric-quantization geometry graph graphs gravity grothendieck group group-theory harmonic-analysis higher higher-algebra higher-category-theory higher-differential-geometry higher-geometry higher-lie-theory higher-topos-theory homological homological-algebra homotopy homotopy-theory homotopy-type-theory index-theory integration integration-theory k-theory lie-theory limits linear linear-algebra locale localization logic mathematics measure-theory modal modal-logic model model-category-theory monad monads monoidal monoidal-category-theory morphism motives motivic-cohomology nforum nlab noncommutative noncommutative-geometry number-theory of operads operator operator-algebra order-theory pages pasting philosophy physics pro-object probability probability-theory quantization quantum quantum-field quantum-field-theory quantum-mechanics quantum-physics quantum-theory question representation representation-theory riemannian-geometry scheme schemes set set-theory sheaf simplicial space spin-geometry stable-homotopy-theory stack string string-theory superalgebra supergeometry svg symplectic-geometry synthetic-differential-geometry terminology theory topology topos topos-theory tqft type type-theory universal variational-calculus

Vanilla 1.1.10 is a product of Lussumo. More Information: Documentation, Community Support.

Welcome to nForum
If you want to take part in these discussions either sign in now (if you have an account), apply for one now (if you don't).
    • CommentRowNumber1.
    • CommentAuthorbblfish
    • CommentTimeAug 23rd 2014
    • (edited Aug 23rd 2014)

    While studying scalaz using the help of the nice mapping from Haskell to Scalaz learning scalaz I came across the description of Reader. It shows that a function can be considered as a Functor - just as a List or Set can. Since Functors are a map between categories I was wondering what a function functor was a map from and to. So it seems to be able to be from any category to something, which for a while I thought could be the Arrow Category. So that would mean that a function functor would be a map from C to Arr(C). But then I’d need to find

    • a map F 0:Obj(C)Obj(Arr(C))F_0 : Obj(C) \to Obj(Arr(C))
    • a map F 1:Mor(C)Mor(Arr(C))F_1 : Mor(C) \to Mor(Arr(C))

    In ScalaZ a functor of functions is hardwired to an initial type. So that one has a functor of all function Int => X for example. ( presumably because Arr(C) is somehow a 2 Category, but functors are not ) So I suppose F 0F_0 needs to be a map from Obj(c) to the functions of type Int=>X ( taking Int as fixed ) in Arr(c). But then that means that Arr(c) can’t be the object of the function functor, as there is no such object in Arr(c)….

    Any hints?

  1. Just a short remark: In Haskell, for a fixed type r, the Reader r monad is a functor Hask -> Hask, where Hask is the category of Haskell types and functions between those. More specifically, it is the functor Hom(r, __) (internal Hom in Hask). This is all modulo the usual caveats about the category Hask.

    In general category theory, there is a functor Hom(r, __) : C -> Set for any object r of any category C.