How to gently introduce an FP library
Ғылым және технология
You cannot bring a library with a whole new paradigm and convince people to use it out of the blue. But you can bring a new library that delivers value right away.
Hate watching videos? Check out the complementary article, which covers the same content: dev.to/zelenya/how-to-gently-...
#fp #haskell #rust #scala
Subscribe to Impure Pics: bit.ly/impure-youtube
More Impure Pics
🐣 / impurepics
📦 impurepics.com
👕 merch.impurepics.com
Functional Alphabet book
📗 Softcover: bit.ly/fp-abc-soft-cover
📘 Hardcover: bit.ly/fp-abc-hard-cover
Watch more Impure Pics
• Debunking Haskell Myth...
About Impure Pics
FP Advocat. Distilling functional programming for the good of all
Get in touch: zelenya.com
0:00 Intro
0:26 How to combine two maps
2:44 How to accumulate errors
4:21 Bonus: tidy extension methods
5:00 Bonus: smooshing tuples
5:38 How to traverse things of things
6:33 Bonus: split a list of eithers
6:46 Last note
Пікірлер: 7
Lesgooooo scala mention
⚡⚡⚡ TOP explanation on how it usually goes with new libs
Don’t know why but Scala syntax looks to me so unreadable…
@impurepics
5 ай бұрын
Hm, which style of scala syntax? scala-java? scala-haskell? or scala-python? And what was your first programming language?
@coder_one
5 ай бұрын
@@impurepics generally looks unfamiliar. I like more syntax of TS, Rescript, Gleam, even PureScript looks more better for me ;)
@i-am-the-slime
5 ай бұрын
EVEN Purescript??? Purescript is so pretty
@impurepics
5 ай бұрын
@@coder_one It doesn't take a long time to get used to square brackets for generics. With Scala 3, aside from records, you can make it look closer to PureScript; especially, if you don't mind the type signatures and function application (which in Scala already look like in the other languages from the list)