Hayleigh Thompson
Hayleigh Thompson
Given the following snippet, we will get a compile error on **line 9**. ```rust 1 | import gleam/map.{Map} 2 | 3 | pub fn insert (map: Map(a, b), key: a,...
Sometimes you just want to bail out of a program entirely because something has gone so wrong it is unrecoverable. This is often achieved by _throwing_ or _raising_ an `Exception`,...
Although the initial motivation was just copying what JS does, it doesn't really seem clear to me if there's any benefit to having different syntax _at all_ and only serves...
I think this has something to do with the parser trying to parse this as a scientific notation number `1e2` or something.
Broken: ``` let test = #nothing // This is a comment ``` Works: ``` let test = (#nothing) // This is a comment ``` --- Definitely a funky one there...
Whenever you're learning a new language, unless it's identical to whatever you're familiar with already, it's likely you'll run into a few hiccups along the way when things don't work...
Something like: ``` pub let main = _ => where Process.argv is [ _, _, "make", dir ] => { ret 0 } ``` emits: ``` export function main (_)...
Most likely this a will be JS-style spread operator: ``` { ...obj, field: newValue } ``` Not sure if I should open another issue, but it would be very nice...