
lpil
Video: Using Gleam's 'try' syntax by Michael Jones
Michael published this video today on the how and why of Gleam’s new try syntax. I thought it would be a good first bit of content to share here on devtalk.
I hope he makes more Gleam educational snippets in future!
Most Liked

rasputin303
I liked this, and your Elm video too!
One other thing that might confuse people about the try
syntax is what to do if your results
have different error types. If you are looking for ideas for videos, maybe a follow-up about how to use map_error
would be useful too.

AstonJ
I reckon Michael should sign up gleam[casts].com! He’s got a good voice and everything was at a relaxed pace which is ideal for screencasts imo (I don’t think he’s signed up yet otherwise I would have @'d him, haha!)

lpil
At the moment the plan is to only have this Result specialisation. Later we may introduce traits, interfaces, or some other form of metaprogramming/ad-hoc polymorphism, at which point we could look at expanding this.
Popular Backend topics










Other popular topics










Latest in Backend
Latest (all)
Categories:
Popular Portals
- /elixir
- /rust
- /wasm
- /ruby
- /erlang
- /phoenix
- /keyboards
- /js
- /rails
- /python
- /security
- /go
- /swift
- /vim
- /clojure
- /java
- /haskell
- /emacs
- /svelte
- /onivim
- /typescript
- /crystal
- /c-plus-plus
- /tailwind
- /kotlin
- /gleam
- /react
- /flutter
- /elm
- /ocaml
- /vscode
- /opensuse
- /centos
- /ash
- /php
- /deepseek
- /zig
- /scala
- /html
- /debian
- /nixos
- /lisp
- /agda
- /sublime-text
- /textmate
- /react-native
- /kubuntu
- /arch-linux
- /revery
- /ubuntu
- /manjaro
- /spring
- /django
- /diversity
- /lua
- /nodejs
- /c
- /julia
- /slackware
- /neovim