IDE for functional programming on macOS • currently in beta Interested in beta testing? Just DM an email address for a TestFlight invitatio
Applicative code —the IDE for functional programming— is now in beta and sports a Bluesky account to follow!
seen from China

seen from Malaysia
seen from Netherlands

seen from Malaysia

seen from United States
seen from Thailand

seen from United States
seen from Yemen

seen from Thailand

seen from Malaysia

seen from Thailand

seen from Malaysia

seen from United Kingdom
seen from China
seen from United Kingdom
seen from China
seen from United States

seen from United Kingdom

seen from Netherlands
seen from Romania
IDE for functional programming on macOS • currently in beta Interested in beta testing? Just DM an email address for a TestFlight invitatio
Applicative code —the IDE for functional programming— is now in beta and sports a Bluesky account to follow!

Anya is live and ready to show you everything. Watch her strip, dance, and perform exclusive shows just for you. Interact in real-time and make your fantasies come true.
Free to watch • No registration required • HD streaming
thinking of including an anti-passive that evolved from a directional applicative when i finally get around to making a naturalistic conlang
Trzy klasy typów Funktor, Monada i Aplikatywa są to prawdopodobnie trzy najpopularniejsze klasy typów do przetwarzania danych.
Trzy klasy typów Funktor, Monada i Aplikatywa są to prawdopodobnie trzy najpopularniejsze klasy typów do przetwarzania danych. Pora poznać je lepiej
Applicative推导
在看《Haskell趣学指南》时,其中有一个Applicative非常有意思:
let x = (+) <$> (*3) <*> (*5) in x 10
这段代码的执行结果是80,即3 * 10 + 5 * 10 = 80。为了搞清楚这个函数组合的过程,我去找了一下函数的定义:https://hackage.haskell.org/package/base-4.14.1.0/docs/src/GHC.Base.html#line-973
instance Applicative ((->) r) where pure = const (<*>) f g x = f x (g x)
根据这个定义,来逐步推导一下原始公式:
(+) <$> (*3) <*> (*5) -- => pure (+) <*> (*3) <*> (*5) -- => const (+) <*> (*3) <*> (*5)
根据<*>的定义,此时参数分别是:
f:const (+)
g:(*3)
x:待输入
因此,上述表达式可变换为:
(\x -> const (+) x ((*3) x)) <*> (*5) -- => (\x -> (+ ((*3) x))) <*> (*5) -- => (\x -> (+) ((*3) x)) <*> (*5)
同理,此时<*>的参数分别是:
f:\x -> (+) ((*3) x)
g:(*5)
x':待输入
上述表达式再次变换为:
\x' -> (\x -> (+) ((*3) x)) x' ((*5) x') -- => \x' -> (+) ((*3) x') (*5 x')
得到最终的表达式\x' -> 3 * x' + 5 * x'
New top story on Hacker News: Functor, Applicative, and Monad
New top story on Hacker News: Functor, Applicative, and Monad
Functor, Applicative, and Monad 9 by TheAsprngHacker | 0 comments on Hacker News.
View On WordPress

Anya is live and ready to show you everything. Watch her strip, dance, and perform exclusive shows just for you. Interact in real-time and make your fantasies come true.
Free to watch • No registration required • HD streaming
New top story on Hacker News: Functor, Applicative, and Monad
New top story on Hacker News: Functor, Applicative, and Monad
Functor, Applicative, and Monad 5 by TheAsprngHacker | 0 comments on Hacker News.
View On WordPress
#Applicative Morning ! (at Capgemini, Gigaplex) https://www.instagram.com/p/BsrdurnlmhG/?utm_source=ig_tumblr_share&igshid=1jlr57hpdpdos