enow.com Web Search

Search results

  1. Results from the WOW.Com Content Network
  2. Free module - Wikipedia

    en.wikipedia.org/wiki/Free_module

    Every vector space is a free module, [1] but, if the ring of the coefficients is not a division ring (not a field in the commutative case), then there exist non-free modules. Given any set S and ring R, there is a free R-module with basis S, which is called the free module on S or module of formal R-linear combinations of the elements of S.

  3. Functor (functional programming) - Wikipedia

    en.wikipedia.org/wiki/Functor_(functional...

    Applying fmap (+1) to a binary tree of integers increments each integer in the tree by one.. In functional programming, a functor is a design pattern inspired by the definition from category theory that allows one to apply a function to values inside a generic type without changing the structure of the generic type.

  4. Functor - Wikipedia

    en.wikipedia.org/wiki/Functor

    A functor from G to Set is then nothing but a group action of G on a particular set, i.e. a G-set. Likewise, a functor from G to the category of vector spaces, Vect K, is a linear representation of G. In general, a functor G → C can be considered as an "action" of G on an object in the category C. If C is a group, then this action is a group ...

  5. Function object - Wikipedia

    en.wikipedia.org/wiki/Function_object

    The ML family of functional programming languages uses the term functor to represent a mapping from modules to modules, or from types to types and is a technique for reusing code. Functors used in this manner are analogous to the original mathematical meaning of functor in category theory , or to the use of generic programming in C++, Java or Ada .

  6. Full and faithful functors - Wikipedia

    en.wikipedia.org/wiki/Full_and_faithful_functors

    A faithful functor need not be injective on objects or morphisms. That is, two objects X and X′ may map to the same object in D (which is why the range of a full and faithful functor is not necessarily isomorphic to C), and two morphisms f : X → Y and f′ : X′ → Y′ (with different domains/codomains) may map to the same morphism in D.

  7. Initial and terminal objects - Wikipedia

    en.wikipedia.org/wiki/Initial_and_terminal_objects

    For example, the initial object in any concrete category with free objects will be the free object generated by the empty set (since the free functor, being left adjoint to the forgetful functor to Set, preserves colimits). Initial and terminal objects may also be characterized in terms of universal properties and adjoint functors.

  8. Free object - Wikipedia

    en.wikipedia.org/wiki/Free_object

    Properly describing or enumerating the contents of a free object can be easy or difficult, depending on the particular algebraic object in question. For example, the free group in two generators is easily described. By contrast, little or nothing is known about the structure of free Heyting algebras in more than one generator. [1]

  9. Map (higher-order function) - Wikipedia

    en.wikipedia.org/wiki/Map_(higher-order_function)

    In Haskell, the polymorphic function map :: (a -> b) -> [a] -> [b] is generalized to a polytypic function fmap :: Functor f => (a -> b) -> f a -> f b, which applies to any type belonging the Functor type class. The type constructor of lists [] can be defined as an instance of the Functor type class using the map function from the previous example: