logoalt Hacker News

tymscaryesterday at 7:38 PM1 replyview on HN

I was also pretty surprised about the performance. It's not C, but it's so much faster than I'd guessed.

I do agree the language server is great. And it works in basically any IDE, which is another huge bonus.

With regards to having to type `list.map`, you actually don't need to! You can do this:

  import gleam/list.{range, map}
  import gleam/int

  pub fn main() {
    range(0,10) |> map(int.to_string) |> echo
  }
Some libraries just aren't there, and I do wonder how hard it would be to port C libraries over. Something I want to play with!

Replies

mjmasyesterday at 7:46 PM

double space before each line for code formatting

show 1 reply