Материалы по теме 'functors' | DevsDay.ru

IT-блоги Материалы по теме 'functors'

IT-блоги Материалы по теме 'functors'


Разработка dev.to 25 мая 2024 г. 2:26

Though many articles were written about Monad, this article shows how a Monad is used in practice with an example and then explains why a Monad is needed. Let's begin right away. The code snippets in this article are using Scala 3 syntax This artic...... читать далее

scala

Разработка dev.to 15 мая 2024 г. 3:15

Table of contents Functors recap Applicatives: Multiple arguments Sequential or parallel effectful computation composition Practical examples: In functional programming (FP), applicatives are a step beyond functors in terms of power and flexibil...... читать далее

typescript functional webdev applicatives

Разработка dev.to 12 мая 2024 г. 21:31

*note: I could never explain these things better than: this guy so I suggest you to go there and read this as complementary material and * Table of contents Functors == mappable are there other functors, Maybe Trees can be mappables So g...... читать далее

typescript functors functional webdev

Разработка dev.to 18 апреля 2024 г. 21:51

Introduction: Functional programming is a paradigm that emphasizes the use of immutable data and pure functions. It provides a set of powerful tools and concepts for writing clean, concise, and composable code. In this article, we will explore three...... читать далее

Разработка dev.to 18 апреля 2024 г. 18:15

Functional programming is a programming paradigm that relies on the use of pure functions and immutable data to write cleaner, more readable, and easier-to-reason-about code. In this approach, Functors, Monads, and Promises are key concepts that allo...... читать далее

Разработка dev.to 18 апреля 2024 г. 15:33

JavaScript is a versatile high-level programming language commonly used to create interactive elements on web pages. It runs in users' web browsers, enabling dynamic content modification and communication with servers without page reloads. It's widel...... читать далее

javascript programming

Разработка dev.to 27 февраля 2024 г. 9:17

Hey there, During a presentation, two things can potentially make developers run away. The first is a speaker delivering a dreadfully dull presentation; the second is the mere mention of the word "Monad". Monads have a reputation for scaring people...... читать далее

vonage dotnet sdk monads

DevOps DZone DevOps 8 января 2024 г. 19:28

In this text, the final summary of my categories theory series, I will use my spotlight and take a closer look at the relations between all three previously described functional containers, namely: Functor, Monad, and Applicative. Below, you will fin...... читать далее

Разработка dev.to 26 января 2023 г. 17:36

This post is targeted towards all those Elm developers (and functional programmers in general) who are curious about Haskell and would like to learn how what they already know and love from Elm maps directly to Haskell. Also, since Haskell's featur...... читать далее

haskell elm functional programming

Разработка habr.com 6 сентября 2022 г. 16:14

Это перевод статьи из целого цикла постов "Грокаем функциональное программирование" Мэта Торнтона. Я позволил себе немного поменять порядок постов. В оригинале, функторы идут после монад, что мне показалось неверным. Всякая монада - это функтор, но н...... читать далее

Функциональное программирование F# перевод функциональщина функциональное программирование f# functor функтор

Разработка dev.to 28 ноября 2021 г. 11:40

Photo by ArtHouse Studio from Pexels Intro The term functor comes from category theory and describes, in a nutshell, a mapping between two categories of things. In programming, these categories are usually types (for instance the generic...... читать далее

scala functional computerscience

Разработка dev.to 18 ноября 2021 г. 20:11

Photo by Magda Ehlers from Pexels What crosses your mind when you hear the phrase "functional programming"? Some people imagine arcane, esoteric code, built around functors and monads and applicatives, but I think of immutability and referential...... читать далее

functional haskell scala erlang

Разработка dev.to 17 ноября 2021 г. 12:33

A Short Introduction This is a short post covering a relatively useful pattern for writing functions that I have found very applicable to anyone writing modern software. The pattern itself isn't particularly arcane, and many developers find themsel...... читать далее

javascript functional programming beginners

DevOps linuxhint.com 3 ноября 2021 г. 8:41

The functor is quite like a class that behaves like a function or method. The functors are those objects that can be used as functions or likewise. These are helpful when a user wants to pass more than 1 argument in a function while that function doe...... читать далее

C++

Разработка dev.to 3 октября 2021 г. 19:46

After learning map, reduce and higher-order functions, you finally stepped into the gate of functional programming. As you keep delving deeper you stumbled upon composing and piping, and, you start to wonder why one even uses compose. Function compos...... читать далее

javascript functional webdev

Разработка dev.to 10 сентября 2021 г. 15:56

Photo by Xavi Cabrera on Unsplash. Before trying and adopting a new paradigm, it is only legitimate to ask ourselves this question: why should we spend some of our precious time learning this thing? Allow me to present my list of pros and cons o...... читать далее

functional programming tutorial typescript

Разработка dev.to 19 августа 2021 г. 15:32

Source: For AWS: https://www.awslagi.com \ For GCP: https://www.gcp-examquestions.com You are hired as the new head of operations for a SaaS company. Your CTO has asked you to make debugging any part of your entire operation simpler and as fast a...... читать далее

aws awslagi googlecloud

Разработка habr.com 17 июля 2021 г. 13:06

Сегодня поговорим о еще одном функторе — инвариантном (Invariant Functor). Уже было несколько постов о ковариантных функторах (называемых просто "функторами") и контравариантных функторах. Если концепция ковариантных и контравариантных функторов вам...... читать далее

Блог компании OTUS Программирование Scala scala functional programming rest api http4s

Разработка habr.com 16 июля 2021 г. 15:59

В этой статье мы поговорим о функторах. О функторах из библиотеки Cats, а не о классических функторах, которые мы все знаем и любим. Рассмотрим контравариантные функторы (Contravariant Functors), представленные в Cats в виде тайпкласса Contravariant...... читать далее

Блог компании OTUS Программирование Scala scala http4s zio functional programming cats rest api

Разработка dev.to 11 июля 2021 г. 22:37

This is the topic that sounds scary on listening but once you understand the internal meaning, its as easy as an ice cake. In simple words, its a fancy way of saying 'overloading () operator' as Functors or simply 'using objects as functions' . If y...... читать далее

cpp programming 100daysofcode tutorial