Yan Yi

#gleam

TIL: Importing Constructors in Gleam

Unlike the Result type, I learned that I needed to import the Option type constructors in Gleam.

TIL: No `if`s in Gleam

There are no `if`s in Gleam. I tried some alternatives other than the standard `case` statements.

TIL: I Don't Understand This Gleam Pipe Compiler Error

I tried to figure out why the pipe syntax did not work in Gleam. Turns out, it might be how Gleam evaluates based on functions precedence.

TIL: Gleam Pattern Matching and Pipe

It has been slightly more than two years since I have written any Elm. Plus with the advancement of AI-assisted coding, I have not really written much …

TIL: Setting Up Gleam with asdf

I have been eyeing Gleam since 2023 but never really got to it. It’s a functional programming language. Also, Large Language Models (LLMs) are likely …