the-sett / elm-syntax-dsl

A DSL for creating Elm syntax trees and pretty printing Elm source code.
BSD 3-Clause "New" or "Revised" License
20 stars 4 forks source link

No way to create a `Function` for `letFunction`. #5

Closed rupertlssmith closed 5 years ago

rupertlssmith commented 5 years ago

The signature of letFunction is:

letFunction : Function -> LetDeclaration

But there is no function for creating a Function, so would be better as:

letFunction : String -> List Pattern -> Expression -> LetDeclaration