grain icon indicating copy to clipboard operation
grain copied to clipboard

The Grain compiler toolchain and CLI. Home of the modern web staple. 🌾

Results 236 grain issues
Sort by recently updated
recently updated
newest added

![image](https://user-images.githubusercontent.com/40705786/181106936-43d57d97-5a2f-4945-bc26-8d5821b9426f.png) In the image above i was using modulo and my Number value became a float, when i used modolo it gave me the error of `NumberNotIntlike: Can't coerce number...

Proposed by @spotandjake in discord and iterated on a bit. Graindoc should allow something like a `@baseUrl` attribute in the module declaration block and if specified, graindoc could built source-file...

graindoc

Type annotations can get unwieldy pretty fast, with types like `List`. I think it would be pretty cool to have shorthands for common types, like `[]` for lists, maybe `?`...

question

Currently cmd clicking on function invocation does not go to function definition, similarly for module name as well. We could implement go to defination functionality for better developer experience

Many languages like Javascript/ typescript, rust(through rust-analyzer VS code extension) provide support for inlay hint in VS Code as shown below.inlay hint provides hints for type of variable defined in...

enhancement
lsp

If I create a parameterized type alias and then create a weakly typed value of that type, unification does not occur: It's easy to tell here via `foo` still being...

It would be useful for `Char` to support a variety of Unicode-aware query functions and conversion functions (`toUpper`, `isPunctuation`, etc). For example, these are the ones supported by Racket [here](https://docs.racket-lang.org/reference/characters.html#%28part._.Classifications%29)...

enhancement
good first issue
stdlib

This was discussed in another issue, but I can't find it quickly so I wanted to open a top-level issue. If you find the discussion, please link. To improve LSP...

Printers can be registered for exceptions, but these values are only shown when an error is thrown. `Exception.print()` should return the string value of an exception.

Printers for exceptions can be registered via `Exception.registerPrinter`, which are used whenever an exception is thrown. Besides an `Exception.print()`, should the standard `toString` and `print` also use the registered printers?