
chiroptical
A short introduction to `maybe_expr` in Erlang
I am a huge fan of functional programming and recently discovered the maybe
expression in Erlang. In the blog post I show an example of code I refactored recently using maybe
, how to enable the expression in OTP 25 (and up), and compare it to a language feature in Haskell (ExceptT
).
Most Liked

chiroptical
Awesome, thanks for the info! I am very hopeful to start writing more of my Erlang journeys.
1
Popular General Dev topics

Hey all, I blogged about using pattern matching to replace conditional checks (post in Spanish)
New

Hi again, this time I blogged about creating a development environment for elixir using Docker (post in Spanish)
New

This talk by @wolf4earth was posted in a thread about pull requests, but it warrants a thread of its own :blush:
As Sascha highlights, b...
New

This is what we’ve been doing in our last HackWeek at NextRoll with @maco and @pablocostass
Now you can add typespecs to your modules us...
New

I put together a quick run through of the talks that I attended at Elixir Conf EU 2023, in Lisbon.
New

Agent Workflows offer a solution to automate repetitive business tasks traditionally handled by knowledge workers, enhancing operational ...
New

I am a huge fan of functional programming and recently discovered the maybe expression in Erlang. In the blog post I show an example of c...
New

I share my continued thoughts and plans for whacking parts of the Elixir ecosystem together to see if I get sparks.
New

Starting a series on lexing and LALR-1 parser generators using leex and yecc. The series is really focused on the “by example” part since...
New

This is Part 1 of my mini series integrating Phoenix Framework with Cardano. The first part is about setting up a phoenix application to...
New
Other popular topics

I know that these benchmarks might not be the exact picture of real-world scenario, but still I expect a Rust web framework performing a ...
New

I am thinking in building or buy a desktop computer for programing, both professionally and on my free time, and my choice of OS is Linux...
New

I’m thinking of buying a monitor that I can rotate to use as a vertical monitor?
Also, I want to know if someone is using it for program...
New

This looks like a stunning keycap set :orange_heart:
A LEGENDARY KEYBOARD LIVES ON
When you bought an Apple Macintosh computer in the e...
New

I am asking for any distro that only has the bare-bones to be able to get a shell in the server and then just install the packages as we ...
New

Author Spotlight
Mike Riley
@mriley
This month, we turn the spotlight on Mike Riley, author of Portable Python Projects. Mike’s book ...
New

Inside our android webview app, we are trying to paste the copied content from another app eg (notes) using navigator.clipboard.readtext ...
New

zig/http.zig at 7cf2cbb33ef34c1d211135f56d30fe23b6cacd42 · ziglang/zig.
General-purpose programming language and toolchain for maintaini...
New

A Brief Review of the Minisforum V3 AMD Tablet.
Update: I have created an awesome-minisforum-v3 GitHub repository to list information fo...
New

Background
Lately I am in a quest to find a good quality TTS ai generation tool to run locally in order to create audio for some videos I...
New
Categories:
Sub Categories:
- All
- In The News (10047)
- Dev Chat (200)
- Questions (32)
- Resources (118)
- Blogs/Talks
- Jobs (3)
- Events (15)
- Code Editors (58)
- Hardware (57)
- Reviews (4)
- Sales (15)
- Design & UX (4)
- Marketing & SEO (1)
- Industry & Culture (14)
- Ethics & Privacy (19)
- Business (4)
- Learning Methods (4)
- Content Creators (7)
- DevOps & Hosting (9)
Popular Portals
- /elixir
- /rust
- /wasm
- /ruby
- /erlang
- /phoenix
- /keyboards
- /rails
- /js
- /python
- /security
- /go
- /swift
- /vim
- /clojure
- /emacs
- /java
- /haskell
- /onivim
- /svelte
- /typescript
- /crystal
- /c-plus-plus
- /kotlin
- /tailwind
- /gleam
- /react
- /flutter
- /elm
- /ocaml
- /vscode
- /ash
- /opensuse
- /centos
- /php
- /deepseek
- /html
- /scala
- /zig
- /debian
- /sublime-text
- /textmate
- /nixos
- /lisp
- /agda
- /react-native
- /kubuntu
- /arch-linux
- /ubuntu
- /revery
- /spring
- /django
- /manjaro
- /diversity
- /nodejs
- /lua
- /c
- /slackware
- /julia
- /markdown