Currently a let function is represented by Expression.LetFunction Function, where Function is
type alias Function =
{ documentation : Maybe (Node Documentation)
, signature : Maybe (Node Signature)
, declaration : Node FunctionImplementation
}
This makes it possible to represent a let function with a documentation attached to it, but this is forbidden by the parser and the Elm compiler. We should change the type here to not include a documentation.
Currently a let function is represented by
Expression.LetFunction Function
, whereFunction
isThis makes it possible to represent a let function with a documentation attached to it, but this is forbidden by the parser and the Elm compiler. We should change the type here to not include a documentation.