D
Dicread
Trang chủTừ điểnFfunctor

Lưu ý: Bản dịch của mục này hiện đang được kiểm tra chất lượng, vì vậy một số nội dung tạm thời chỉ hiển thị bằng tiếng Anh.

Mục từ này chưa được dịch sang ngôn ngữ của bạn, vì vậy nội dung gốc được hiển thị bên dưới.

functor

functor
Danh từ
Số nhiều: functors

Ý nghĩa

Danh từfunctor

In category theory, a mapping between categories that preserves the categorical structure, including the composition of morphisms and identity morphisms.

The covariant functor maps objects of category C to objects of category D.

Danh từfunctor

In computer science and functional programming, a data type that can be mapped over, meaning it implements a map function to apply a transformation to the value it contains.

A list is a common example of a functor in Haskell.

Ví dụ

Does this specific typeclass qualify as a functor in your implementation?

Does this specific typeclass qualify as a functor in your implementation?

I need to understand how a contravariant functor differs from a covariant one.

School Life

The professor explained that every monad is also a functor.

The professor explained that every monad is also a functor.

School Life

Maybe I should use a functor here to transform the wrapped value without unpacking it.

Maybe I should use a functor here to transform the wrapped value without unpacking it.

The identity functor maps every object and morphism to itself.

We can define a functor that translates the logic from one category to another.

We can define a functor that translates the logic from one category to another.

Is the Option type considered a functor in this language?

Is the Option type considered a functor in this language?

The mapping properties of the functor ensure that the structure remains intact.

I wonder if there is a more efficient way to implement this functor.

Từ liên quan

Cập nhật lần cuối: May 2026Báo lỗi