Gabe Johnson

Results 27 issues of Gabe Johnson

Fixes #116 The issue with the current parsing rules and representation is that arrow function bodies are not statements, they're either function blocks or expressions. Looking at the [specification](https://www.ecma-international.org/ecma-262/#prod-ExpressionBody) we...

I noticed a parse error when parsing an object literal containing an arrow function if any properties are defined _after_ the arrow function. ```js ({ f: x => x })...

Opening an issue to track operator suggestions

Barring static types, it would be nice to have checks ensuring that if a protocol intends a field to be a method that an implementation _at least_ defines is as...

At work we newtype `Map` in a manner analogous to `Data.Set.NonEmpty.NonEmptySet`, copying the API of `Data.Map.Internal` without `empty` and dealing with partial functions by returning `Maybe (NonEmptyMap k v)`. I'm...

Verified that all exercise projects compile using the package set. I had to add a missing dependency on `-random` for chapter 8.

Chapter 4 leads with the factorial function example: ```ps fact :: Int -> Int fact 0 = 1 fact n = n * fact (n - 1) ``` This is...