Thread with 13 posts

jump to expanded post

it's a language for beam (the erlang vm), that's probably where the name comes from. syntax is clearly heavily inspired by rust and, like rust, it has algebraic data types and pattern matching. unlike rust it has… a continuation-passing operator??? wow (it's called use)

Open thread at this post

what the hell, the gleam “cheatsheets” claim gleam does not have “logical” && or ||, only “boolean” && and ||. what does that mean? no short-circuiting? it seems like it short-circuits to me. also wait does this language not have bitwise operators??? why

Open thread at this post

anyway gleam seems pretty cute, and this word feels fitting? it's trying to be small-ish and “friendly”. in its syntax, static typing and algebraic datatypes, it's like rust, but otherwise it feels like a simplified haskell: immutable data only, linked lists, no typeclasses

Open thread at this post
samir, lost and found , @samir@functional.computer
(open profile)

@hikari Gorgeous. I wanted to write something like that for a little language for a build system. This seems far more thought-out than what I had in mind.

Honestly, if I were to pursue this project, I think I might try building it on top of Gleam and abandoning my own language. Seems far more practical and quite well-suited.

I wish it had a concept of pure functions, but otherwise, looks cracking.

Open remote post (opens in a new window)