compiler
compiler copied to clipboard
Compiler for Elm, a functional language for reliable webapps.
**Quick Summary:** It is possible to shadow types, even though this is discouraged, and usually a compiler error ## SSCCE ```elm import A exposing (SomeType) import B exposing (SomeType) a...
In Rust there is a type called `Option` similar to Elm's `Maybe`. Rust let you unwrap the `Option` in a if statment like this: ```rust if let Some(a) = Some(1)...
**Quick Summary:** ??? I am making a pure, recursive, transformation over an AST type and noticed that in some cases there is an infinite loop (or at the very least...
The compiler complains if a polymorphic function recursively calls the same function with a different type parameter. ## SSCCE ```elm silly : List a -> String silly xs = case...
**Quick Summary:** Mutually recursive functions can be used to transmute a value to an arbitrary type. ## SSCCE ```elm -- repl says f has type `a -> b -> c`...
**Quick Summary:** The error message for when the command `reactor` from the `elm` compiler is used could be more human friendly and newcomers' friendly (writers, non-devs, ...). ## SSCCE ```bash...
**Quick Summary:** New Elm developers comming from JavaScript and other languages that have a `return` keyword may be confused when the `return` keyword is not needed in functions, or may...
Ok
**Quick Summary:** Here are the steps to reproduce: ``` git clone https://github.com/Modelyz/studio cd studio/ git co deec77a cd front/src elm make Resource/AddPage.elm ``` ## SSCCE Not sure how to extract...
In https://github.com/elm/compiler/blob/master/installers/linux/README.md, `ls` is an executable, but `cd` is a command provided by the command line itself. I got confused with this time ago, but noticed the truth when was...