There are a lot of monad tutorials. All of them fail due to the "Monad Curse": when someone understands what it is then this person is not able to explain this concept to others.
This article goes another way: it finds the simple code examples where you already use monads without noticing.
Awesome read!
This article goes another way: it finds the simple code examples where you already use monads without noticing.
Awesome read!
Have you heard about algebraic effects?
The name might be a bit intimidating but the idea is simple. If you’re familiar with
Dan Abramov (React / Redux core) shares a nice tutorial about this topic.
The name might be a bit intimidating but the idea is simple. If you’re familiar with
try / catch blocks, you’ll figure out algebraic effects very fast.Dan Abramov (React / Redux core) shares a nice tutorial about this topic.
Daan Leijen - Asynchrony with Algebraic Effects
Daan invented Koka, a strongly typed function-oriented language with (side) effect inference.
This talk will introduce algebraic effect handlers and use their power to write beautiful asynchronous programs, by compiling Koka to #js
Daan invented Koka, a strongly typed function-oriented language with (side) effect inference.
This talk will introduce algebraic effect handlers and use their power to write beautiful asynchronous programs, by compiling Koka to #js
YouTube
Daan Leijen - Asynchrony with Algebraic Effects
Daan invented Koka, a strongly typed function-oriented language with (side) effect inference.
This talk will introduce algebraic effect handlers and use their power to write beautiful asynchronous programs, by compiling Koka to JavaScript (Node.js).
This talk will introduce algebraic effect handlers and use their power to write beautiful asynchronous programs, by compiling Koka to JavaScript (Node.js).
#vue plugin for the new function-based RFC: https://github.com/vuejs/vue-function-api
This is very controversial and had multiple heated discussions around.
This is very controversial and had multiple heated discussions around.
#vue Function API RFC is refactored and renamed to Vue Composition API. There are a lot of changes to the proposed spec. That's what "working with the community feedback" is.
https://github.com/vuejs/rfcs/pull/78
https://github.com/vuejs/rfcs/pull/78
GitHub
Composition API (revised from #42 Function-based Component API) by yyx990803 · Pull Request #78 · vuejs/rfcs
Rendered | Source
This is a revised version of #42.
Editorial Updates
Renamed the proposal to Composition API
Adjusted adoption strategy and position the API as an advanced, additive API that work...
This is a revised version of #42.
Editorial Updates
Renamed the proposal to Composition API
Adjusted adoption strategy and position the API as an advanced, additive API that work...
#scala 3.0 might have indentation-based syntax like in #python.
Discussion: https://github.com/lampepfl/dotty/pull/7083
Discussion: https://github.com/lampepfl/dotty/pull/7083
We can now have typed views, forms, models, querysets, and APIs in
Let me introduce
This article provides a quickstart guide and an example project with everything configured and typed.
#python
django and djangorestframework!Let me introduce
django-stubs and djangorestframework-stubs to you.This article provides a quickstart guide and an example project with everything configured and typed.
#python
Announcing pastel: a command-line tool to generate, analyze, convert and manipulate colors: https://github.com/sharkdp/pastel
#rust #css #js
#rust #css #js
Simple #nuxt module for processing your images with responsive-loader: https://github.com/geeogi/nuxt-responsive-loader
#js #vue
#js #vue
portray is a #python command line tool and library that helps you create great documentation websites for your Python projects with as little effort as possible: https://timothycrosley.github.io/portray/
Monads should and can be tranformed into different other monads. This article guides you through this process.
#haskell
#haskell
- Stricter Generators
- More Accurate Array Spread
- Improved UX Around Promises
- Better Unicode Support for Identifiers
- import.meta Support in SystemJS
- get and set Accessors Are Allowed in Ambient Contexts
- Ambient Classes and Functions Can Merge
- APIs to Support --build and --incremental
#js
- More Accurate Array Spread
- Improved UX Around Promises
- Better Unicode Support for Identifiers
- import.meta Support in SystemJS
- get and set Accessors Are Allowed in Ambient Contexts
- Ambient Classes and Functions Can Merge
- APIs to Support --build and --incremental
#js
Nice talk about turning unit tests into property-based tests. That's something every developer should think about: properties of your code, not specific implementation.
#haskell
#haskell
YouTube
John Hughes - Building on developers' intuitions (...) | Lambda Days 19
This video was recorded at Lambda Days 2019 http://www.lambdadays.org/lambdadays2019
Get involved in Lambda Days' next conference http://www.lambdadays.org
---
BUILDING ON DEVELOPERS' INTUITIONS TO CREATE EFFECTIVE PROPERTY-BASED TESTS
by John Hughes
…
Get involved in Lambda Days' next conference http://www.lambdadays.org
---
BUILDING ON DEVELOPERS' INTUITIONS TO CREATE EFFECTIVE PROPERTY-BASED TESTS
by John Hughes
…
nushell: everything inside your shell is data! Written in #rust: http://www.jonathanturner.org/2019/08/introducing-nushell.html
WTF is a personal information dashboard for your terminal, developed for those who spend most of their day in the command line: https://wtfutil.com/
#cli
#cli
Bloat is an endemic problem in software, but there are a few things that make it a particular challenge for #rust:
Cargo makes it so easy to just reach for a crate.
Generics, particularly monomorphization.
Poor support for dynamic libraries.
Cargo makes it so easy to just reach for a crate.
Generics, particularly monomorphization.
Poor support for dynamic libraries.
standard.js maintainer decided to include ads in the terminal output.
All internet is now going on him. But, his point was missed. He spent more than 3000 unpaid hours to create and maintain popular projects that thousands of people use everyday.
So, maybe that's not so wrong?
All internet is now going on him. But, his point was missed. He spent more than 3000 unpaid hours to create and maintain popular projects that thousands of people use everyday.
So, maybe that's not so wrong?
Legendary github issue from 2013. When one user suggested that it is better to use Category Theory for bulding #js
> Totally ignore reality in favor of typed-language fantasy land
We all know that in 2019
Promises. His request was declined due to "API simplicity", because monads:> Totally ignore reality in favor of typed-language fantasy land
We all know that in 2019
Promises in #js are monadic and API was changed. Simple is really hard.